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-2023-0842 (Medium) detected in xml2js-0.2.8.tgz, xml2js-0.4.23.tgz - autoclosed #331

Closed
1 task
mend-for-github-com bot opened this issue Apr 6, 2023 · 3 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Apr 6, 2023

CVE-2023-0842 - Medium Severity Vulnerability

Vulnerable Libraries - xml2js-0.2.8.tgz, xml2js-0.4.23.tgz

xml2js-0.2.8.tgz

Simple XML to JavaScript object converter.

Library home page: https://registry.npmjs.org/xml2js/-/xml2js-0.2.8.tgz

Path to dependency file: /builds/jazz_azure-create-service/package.json

Path to vulnerable library: /builds/jazz_azure-create-service/node_modules/azure-storage/node_modules/xml2js/package.json

Dependency Hierarchy:

  • azure-storage-2.10.7.tgz (Root Library)
    • xml2js-0.2.8.tgz (Vulnerable Library)
xml2js-0.4.23.tgz

Simple XML to JavaScript object converter.

Library home page: https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz

Path to dependency file: /builds/jazz_azure-create-service/package.json

Path to vulnerable library: /builds/jazz_azure-create-service/node_modules/xml2js/package.json

Dependency Hierarchy:

  • arm-apimanagement-5.1.0.tgz (Root Library)
    • ms-rest-js-1.11.2.tgz
      • xml2js-0.4.23.tgz (Vulnerable Library)

Found in base branch: develop

Vulnerability Details

xml2js version 0.4.23 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the proto property to be edited.

Publish Date: 2023-04-05

URL: CVE-2023-0842

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-0842

Release Date: 2023-04-05

Fix Resolution (xml2js): 0.5.0

Direct dependency fix Resolution (@azure/arm-apimanagement): 6.0.0


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Apr 6, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-0842 (Medium) detected in multiple libraries CVE-2023-0842 (Medium) detected in xml2js-0.2.8.tgz, xml2js-0.4.23.tgz Mar 3, 2024
Copy link
Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-0842 (Medium) detected in xml2js-0.2.8.tgz, xml2js-0.4.23.tgz CVE-2023-0842 (Medium) detected in xml2js-0.2.8.tgz, xml2js-0.4.23.tgz - autoclosed May 4, 2024
@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-0842 (Medium) detected in xml2js-0.2.8.tgz, xml2js-0.4.23.tgz - autoclosed CVE-2023-0842 (Medium) detected in xml2js-0.2.8.tgz, xml2js-0.4.23.tgz May 4, 2024
@mend-for-github-com mend-for-github-com bot reopened this May 4, 2024
Copy link
Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

Copy link
Author

ℹ️ This issue was automatically closed by Mend because it is a duplicate of an existing issue: #389

@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-0842 (Medium) detected in xml2js-0.2.8.tgz, xml2js-0.4.23.tgz CVE-2023-0842 (Medium) detected in xml2js-0.2.8.tgz, xml2js-0.4.23.tgz - autoclosed May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants