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-2021-23807 (Medium) detected in jsonpointer #1107

Closed
tmarkley opened this issue Jan 6, 2022 · 1 comment
Closed

CVE-2021-23807 (Medium) detected in jsonpointer #1107

tmarkley opened this issue Jan 6, 2022 · 1 comment

Comments

@tmarkley
Copy link
Contributor

tmarkley commented Jan 6, 2022

GHSA-282f-qqgm-c34q - Medium Severity Vulnerability

Vulnerable Library - jsonpointer@4.1.0

This is an implementation of [JSON Pointer](https://datatracker.ietf.org/doc/html/rfc6901).

Library home page: https://www.npmjs.com/package/jsonpointer

Dependency Hierarchy:

  • sass-lint@1.12.1 (Root Library)
    • eslint@2.13.1
      • is-my-json-valid@2.20.5
        • jsonpointer@4.1.0 (Vulnerable Library)
$ npm ls jsonpointer
opensearch-dashboards@2.0.0 /home/ubuntu/ws/OpenSearch-Dashboards
└─┬ sass-lint@1.12.1
  └─┬ eslint@2.13.1
    └─┬ is-my-json-valid@2.20.5
      └── jsonpointer@4.1.0
$ yarn why jsonpointer
yarn why v1.22.17
[1/4] Why do we have the module "jsonpointer"...?
[2/4] Initialising dependency graph...
warning Resolution field "typescript@4.0.2" is incompatible with requested version "typescript@~4.4.2"
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "jsonpointer@4.1.0"
info Reasons this module exists
   - "_project_#sass-lint#eslint#is-my-json-valid" depends on it
   - Hoisted from "_project_#sass-lint#eslint#is-my-json-valid#jsonpointer"
info Disk size without dependencies: "20KB"
info Disk size with unique dependencies: "20KB"
info Disk size with transitive dependencies: "20KB"
info Number of shared dependencies: 0
Done in 1.83s.

Found in base branch: main

Vulnerability Details

This affects the package jsonpointer before 5.0.0. A type confusion vulnerability can lead to a bypass of a previous Prototype Pollution fix when the pointer components are arrays.

Publish Date: 2021-11-08

URL: CVE-2021-23807

CVSS 3 Score Details (5.6)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: janl/node-jsonpointer#51

Release Date: 2021-11-08

Fix Resolution: jsonpointer - 5.0.0

@tmarkley tmarkley added medium severity Medium severity CVE cve Security vulnerabilities detected by Dependabot or Mend labels Jan 6, 2022
@tmarkley
Copy link
Contributor Author

Duplicate of #1152

@tmarkley tmarkley marked this as a duplicate of #1152 Jan 14, 2022
@tmarkley tmarkley removed medium severity Medium severity CVE cve Security vulnerabilities detected by Dependabot or Mend labels Jan 14, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant