Name | CVE-2020-7774 |
Description | This affects the package y18n before 3.2.2, 4.0.1 and 5.0.5. PoC by po6ix: const y18n = require('y18n')(); y18n.setLocale('__proto__'); y18n.updateLocale({polluted: true}); console.log(polluted); // true |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
Debian Bugs | 976390 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
node-y18n (PTS) | stretch | 3.2.1-2 | vulnerable |
buster | 3.2.1-2+deb10u1 | fixed | |
bullseye | 4.0.0-4 | fixed | |
bookworm, sid | 5.0.8+~5.0.0-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
node-y18n | source | stretch | (unfixed) | end-of-life | ||
node-y18n | source | buster | 3.2.1-2+deb10u1 | |||
node-y18n | source | (unstable) | 4.0.0-3 | 976390 |
[stretch] - node-y18n <end-of-life> (Nodejs in stretch not covered by security support)
https://snyk.io/vuln/SNYK-JS-Y18N-1021887
https://github.com/yargs/y18n/issues/96
https://github.com/yargs/y18n/pull/108