Prototype Pollution In y18n
Description
Prototype Pollution in y18n
Overview
The npm package y18n before versions 3.2.2, 4.0.1, and 5.0.5 is vulnerable to Prototype Pollution.
POC
const y18n = require('y18n')(); y18n.setLocale('__proto__'); y18n.updateLocale({polluted: true}); console.log(polluted); // true
Recommendation
Upgrade to version 3.2.2, 4.0.1, 5.0.5 or later.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
npm | 3.2.2, 4.0.1, 5.0.5 | ||
alpine v3.14 | 14.16.1-r0 | ||
alpine v3.10 | 10.24.1-r0 | ||
alpine v3.12 | 12.22.1-r0 | ||
alpine v3.15 | 14.16.1-r0 | ||
alpine v3.16 | 14.16.1-r0 | ||
alpine v3.17 | 14.16.1-r0 | ||
alpine v3.18 | 14.16.1-r0 | ||
alpine v3.22 | 14.16.1-r0 | ||
alpine v3.11 | 12.22.1-r0 |
1-10 of 21
10
Aliases
1. 2. 3. 4. 5. 6. 7. 8.
References
1. 2. 3. 4. 5. 6.