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...
Status: RESOLVED FIXED
Alias: CVE-2020-8131
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: https://hackerone.com/reports/730239
Whiteboard: ~2 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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.

Fix: https://github.com/yarnpkg/yarn/pull/7831/commits/fc76f230e5d9a8bd37cbbdda1b38e9e19a1db950
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1167b651c1845379e649d8b0dac2fb4e7aa2fced

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

    sys-apps/yarn: remove vulnerable versions bug 711132
    
    Bug: https://bugs.gentoo.org/711132
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 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 (RETIRED) gentoo-dev 2020-03-02 22:07:51 UTC
Package has no stable ebuild.

Repository is clean, all done.