swagger-api / swagger-api/swagger-codegen
CVE-2020-8203 (High) detected in lodash-4.17.10.tgz, lodash-4.17.11.tgz
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
CVE-2020-8203 - High Severity Vulnerability
Vulnerable Libraries - lodash-4.17.10.tgz, lodash-4.17.11.tgz
lodash-4.17.10.tgz
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz
Path to dependency file: /samples/client/petstore/typescript-node/npm/package.json
Path to vulnerable library: /samples/client/petstore/typescript-node/npm/node_modules/lodash/package.json
Dependency Hierarchy:
- rewire-3.0.2.tgz (Root Library)
- babel-plugin-transform-es2015-block-scoping-6.26.0.tgz
- ❌ lodash-4.17.10.tgz (Vulnerable Library)
- babel-plugin-transform-es2015-block-scoping-6.26.0.tgz
lodash-4.17.11.tgz
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz
Path to dependency file: /samples/client/petstore/javascript-es6/package.json
Path to vulnerable library: /samples/client/petstore/javascript-es6/node_modules/lodash/package.json,/samples/client/petstore/javascript-promise-es6/node_modules/lodash/package.json
Dependency Hierarchy:
- babel-cli-6.26.0.tgz (Root Library)
- ❌ lodash-4.17.11.tgz (Vulnerable Library)
Found in HEAD commit: 4b7a8d7d7384aa6a27d6309c35ade0916edae7ed
Found in base branches: 3.0.0, master
Vulnerability Details
Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.
Publish Date: 2020-07-15
URL: CVE-2020-8203
CVSS 3 Score Details (7.4)
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: High
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: https://www.npmjs.com/advisories/1523
Release Date: 2020-07-15
Fix Resolution (lodash): 4.17.19
Direct dependency fix Resolution (rewire): 4.0.0
- Check this box to open an automated fix PR
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect samples/client/petstore/typescript-node/npm/package.json, samples/client/petstore/javascript-es6/package.json, and the related javascript-promise-es6 dependency path. Start by checking the lodash and rewire dependency versions against the stated fix resolutions. Done means the affected sample dependencies no longer resolve lodash 4.17.10 or 4.17.11 and the vulnerability is cleared.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100