Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711132 (CVE-2020-8131) - <sys-apps/yarn-1.22.0: arbitrary filesystem write vulnerability in src/fetchers/tarball-fetcher.js (CVE-2020-8131)
Summary: <sys-apps/yarn-1.22.0: arbitrary filesystem write vulnerability in src/fetche...
Alias: CVE-2020-8131
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
Whiteboard: ~2 [noglsa cve]
Depends on:
Reported: 2020-03-01 01:49 UTC by Sam James
Modified: 2020-04-10 23:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-01 01:49:50 UTC
"Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem and potentially lead to arbitrary code execution by forcing the user to install a malicious package."

Affects <1.22.0.

Comment 1 Larry the Git Cow gentoo-dev 2020-03-01 02:41:18 UTC
The bug has been referenced in the following commit(s):

commit 1167b651c1845379e649d8b0dac2fb4e7aa2fced
Author:     Zac Medico <>
AuthorDate: 2020-03-01 02:40:37 +0000
Commit:     Zac Medico <>
CommitDate: 2020-03-01 02:41:02 +0000

    sys-apps/yarn: remove vulnerable versions bug 711132
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Zac Medico <>

 sys-apps/yarn/Manifest           |  2 --
 sys-apps/yarn/yarn-1.19.2.ebuild | 39 ---------------------------------------
 sys-apps/yarn/yarn-1.21.1.ebuild | 40 ----------------------------------------
 3 files changed, 81 deletions(-)
Comment 2 Thomas Deutschmann gentoo-dev 2020-03-02 22:07:51 UTC
Package has no stable ebuild.

Repository is clean, all done.