Deserialization of Untrusted Data Affecting python-pymongo-gridfs package, versions <0:3.2-2.el7sat


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.31% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-PYTHONPYMONGOGRIDFS-4411602
  • published26 Jul 2021
  • disclosed14 May 2019

Introduced: 14 May 2019

CVE-2019-12086  (opens in a new tab)
CWE-502  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade RHEL:7 python-pymongo-gridfs to version 0:3.2-2.el7sat or higher.
This issue was patched in RHSA-2020:1454.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-pymongo-gridfs package and not the python-pymongo-gridfs package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.x before 2.9.9. When Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint, the service has the mysql-connector-java jar (8.0.14 or earlier) in the classpath, and an attacker can host a crafted MySQL server reachable by the victim, an attacker can send a crafted JSON message that allows them to read arbitrary local files on the server. This occurs because of missing com.mysql.cj.jdbc.admin.MiniAdmin validation.

References

CVSS Scores

version 3.1