-
Notifications
You must be signed in to change notification settings - Fork 0
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-2020-15366 (Medium) detected in multiple libraries - autoclosed #194
Comments
✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory. |
ℹ️ This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory. |
✔️ 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. |
CVE-2020-15366 - Medium Severity Vulnerability
Vulnerable Libraries - ajv-5.5.2.tgz, ajv-4.11.8.tgz, ajv-6.10.0.tgz, ajv-6.5.5.tgz, ajv-6.6.2.tgz, ajv-5.5.1.tgz, ajv-6.10.0.min.js
ajv-5.5.2.tgz
Another JSON Schema Validator
Library home page: https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/dist_tag/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/dist_tag/node_modules/ajv,/npm_and_yarn/spec/fixtures/projects/yarn/no_lockfile_change/node_modules/ajv,/npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/ajv
Dependency Hierarchy:
ajv-4.11.8.tgz
Another JSON Schema Validator
Library home page: https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/diverged_sub_dependency_missing_yarn/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/diverged_sub_dependency_missing_yarn/node_modules/ajv/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/no_lockfile_change/node_modules/ajv,/npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/node_modules/ajv,/npm_and_yarn/spec/fixtures/projects/npm7/library/node_modules/ajv/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/path_dependency/deps/etag/node_modules/ajv/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/etag_no_lockfile/node_modules/ajv/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/path_dependency/deps/etag/node_modules/ajv/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/path_dependency/deps/etag/node_modules/ajv/package.json
Dependency Hierarchy:
ajv-6.10.0.tgz
Another JSON Schema Validator
Library home page: https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/ajv/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/npm_subdependency_update/node_modules/ajv/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/ajv/package.json
Dependency Hierarchy:
ajv-6.5.5.tgz
Another JSON Schema Validator
Library home page: https://registry.npmjs.org/ajv/-/ajv-6.5.5.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/ajv/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/diverged_sub_dependency_missing_npm/node_modules/ajv/package.json,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/ajv/package.json
Dependency Hierarchy:
ajv-6.6.2.tgz
Another JSON Schema Validator
Library home page: https://registry.npmjs.org/ajv/-/ajv-6.6.2.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm7/lerna/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/lerna/node_modules/ajv/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/ajv,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/node_modules/ajv/package.json
Dependency Hierarchy:
ajv-5.5.1.tgz
Another JSON Schema Validator
Library home page: https://registry.npmjs.org/ajv/-/ajv-5.5.1.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/node_modules/ajv
Dependency Hierarchy:
ajv-6.10.0.min.js
Another JSON Schema Validator
Library home page: https://cdnjs.cloudflare.com/ajax/libs/ajv/6.10.0/ajv.min.js
Path to vulnerable library: /.js
Dependency Hierarchy:
Found in HEAD commit: ba8cd9078c8ce0cb202767d627706711237abf71
Found in base branch: main
Vulnerability Details
An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator) 6.12.2. A carefully crafted JSON schema could be provided that allows execution of other code by prototype pollution. (While untrusted schemas are recommended against, the worst case of an untrusted schema should be a denial of service, not execution of code.)
Publish Date: 2020-07-15
URL: CVE-2020-15366
CVSS 3 Score Details (5.6)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Release Date: 2020-07-15
Fix Resolution (ajv): 6.12.3
Direct dependency fix Resolution (graphql-cli): 4.0.0-experimental.8
Fix Resolution (ajv): 6.12.3
Direct dependency fix Resolution (eslint): 4.0.0
Fix Resolution (ajv): 6.12.3
Direct dependency fix Resolution (jest): 22.0.5
Fix Resolution (ajv): 6.12.3
Direct dependency fix Resolution (jest): 22.0.5
Fix Resolution (ajv): 6.12.3
Direct dependency fix Resolution (graphql-cli): 4.0.0-experimental.8
Fix Resolution (ajv): 6.12.3
Direct dependency fix Resolution (eslint): 5.0.0
⛑️ Automatic Remediation will be attempted for this issue.
The text was updated successfully, but these errors were encountered: