CVE-2020-28472 Prototype Pollution

High 7.3 Published Updated

Attackers can pollute the application prototype via malicious INI files, potentially leading to code execution or privilege escalation in applications using the AWS SDK.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-28472?

CVE-2020-28472 is a high-severity vulnerability in @aws-sdk/shared-ini-file-loader, published on 19 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2020-28472?

4 open source packages ship an affected version, including @aws-sdk/shared-ini-file-loader and aws-sdk. It affects 2 products.

PackageAffectedFixed in
@aws-sdk/shared-ini-file-loader npmAll versions1.0.0-rc.9
@aws-sdk/shared-ini-file-loader npmAll versions1.0.0-rc.9
aws-sdk npmAll versions2.814.0
aws-sdk npmAll versions2.814.0

Products include Amazon Aws Sdk for Javascipt, Amazon Aws Shared Configuration File Loader.

How do I fix CVE-2020-28472?

Upgrade @aws-sdk/shared-ini-file-loader to 1.0.0-rc.9 or later.

Is CVE-2020-28472 being exploited?

There is no known exploitation of CVE-2020-28472 in the wild and no public exploit code.

Sources

Also known as CLSA-2026-1771891824, GHSA-rrc9-gqf8-8rwg.

Is CVE-2020-28472 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free