Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-31117 (Medium) detected in ujson-2.0.3-cp27-cp27mu-manylinux1_x86_64.whl #624

Open
mend-for-github-com bot opened this issue Jul 6, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

CVE-2022-31117 - Medium Severity Vulnerability

Vulnerable Library - ujson-2.0.3-cp27-cp27mu-manylinux1_x86_64.whl

Ultra fast JSON encoder and decoder for Python

Library home page: https://files.pythonhosted.org/packages/0d/ca/404a902e7fc2d39796b01f72e90a2b32e7ca25a3708bcf1d602ccf9e3658/ujson-2.0.3-cp27-cp27mu-manylinux1_x86_64.whl

Path to dependency file: /src

Path to vulnerable library: /src,/src/webui/backend

Dependency Hierarchy:

  • ujson-2.0.3-cp27-cp27mu-manylinux1_x86_64.whl (Vulnerable Library)

Found in HEAD commit: 8df0c9edde054463776fa58e88036ee2a783a41f

Found in base branch: master

Vulnerability Details

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.

Publish Date: 2022-07-05

URL: CVE-2022-31117

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31117

Release Date: 2022-07-05

Fix Resolution: ujson - 5.4.0


⛑️ Automatic Remediation is available for this issue

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants