GitHub Advisoryadvisory · npm
GHSA-rrc9-gqf8-8rwg Prototype Pollution via file load in aws-sdk and @aws-sdk/shared-ini-file-loader
HIGH
Official page ↗
- Aliases
- CVE-2020-28472
- Ecosystem
- npm
- Packages
- aws-sdk, @aws-sdk/shared-ini-file-loader
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-1321
- Reviewed
- 2021-04-06
Affected packages
• npm aws-sdk: < 2.814.0 → fixed in 2.814.0
• npm @aws-sdk/shared-ini-file-loader: < 1.0.0-rc.9 → fixed in 1.0.0-rc.9
Description
This affects the package @aws-sdk/shared-ini-file-loader before 1.0.0-rc.9; the package aws-sdk before 2.814.0. If an attacker submits a malicious INI file to an application that parses it with loadSharedConfigFiles , they will pollute the prototype on the application. This can be exploited further depending on the context.
Related
Alias · CVE (1)
- CVE-2020-28472 This affects the package @aws-sdk/shared-ini-file-loader before 1.0.0-rc.9; the package aws-sdk before 2.814.0. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-28472 advisory
- https://github.com/aws/aws-sdk-js/pull/3585/commits/7d72aff2a941173733fcb6741b104cd83d3bc611 web
- https://github.com/aws/aws-sdk-js-v3/commit/a209082dff913939672bb069964b33aa4c5409a9 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1059426 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1059425 web
- https://snyk.io/vuln/SNYK-JS-AWSSDK-1059424 web
- https://snyk.io/vuln/SNYK-JS-AWSSDKSHAREDINIFILELOADER-1049304 web