Skip to content

Prototype Pollution via file load in aws-sdk and @aws-sdk/shared-ini-file-loader

high severity Published Nov 16, 2021

Package

npm @aws-sdk/shared-ini-file-loader (npm)

Affected versions

<= 1.0.0-rc.8

Patched versions

1.0.0-rc.9

Package

npm aws-sdk (npm)

Affected versions

< 2.814.0

Patched versions

2.814.0

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.

References

CVE ID

CVE-2020-28472

CVSS Score

7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L