swagger-api / swagger-api/swagger-codegen
CVE-2019-10768 (High) detected in angular-1.7.5.tgz
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
CVE-2019-10768 - High Severity Vulnerability
Vulnerable Library - angular-1.7.5.tgz
HTML enhanced for web apps
Library home page: https://registry.npmjs.org/angular/-/angular-1.7.5.tgz
Path to dependency file: /samples/client/petstore/typescript-angularjs/package.json
Path to vulnerable library: /samples/client/petstore/typescript-angularjs/node_modules/angular/package.json
Dependency Hierarchy:
- ❌ angular-1.7.5.tgz (Vulnerable Library)
Found in HEAD commit: 4b7a8d7d7384aa6a27d6309c35ade0916edae7ed
Found in base branch: master
Vulnerability Details
In AngularJS before 1.7.9 the function merge() could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.
Mend Note: After conducting further research, Mend has determined that versions 1.4.0-beta.6 before 1.7.9 of angular are vulnerable to CVE-2019-10768.
Publish Date: 2019-11-19
URL: CVE-2019-10768
CVSS 3 Score Details (7.5)
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: High
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Release Date: 2019-11-19
Fix Resolution: 1.7.9
- 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
Start with /samples/client/petstore/typescript-angularjs/package.json and confirm the AngularJS dependency currently resolves to 1.7.5. Check the dependency installation or lock data used by the sample, then verify that the resolved version is at least 1.7.9 and that the vulnerability scan no longer reports CVE-2019-10768.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angularjs
- Domain
- frontend, security
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 30/100