CVE-2019-10773: OS Command Injection

Published Dec 16, 2019
·
Updated

In Yarn before 1.21.1, the package install functionality can be abused to generate arbitrary symlinks on the host filesystem by using specially crafted "bin" keys. Existing files could be overwritten depending on the current user permission set.

Affected Software

3 affected componentsFixes available
npm/yarn<=1.21.1
1.22.0
redhat/yarn<1.21.1
1.21.1
yarnpkg yarn<1.21.1

Event History

Dec 16, 2019
CVE Published
via MITRE·07:31 PM
Data Sourced
via MITRE·07:31 PM
DescriptionWeakness
Feb 14, 2020
Advisory Published
11:10 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID is CVE-2019-10773.

2

What is the severity of CVE-2019-10773?

The severity of CVE-2019-10773 is high (7.8).

3

What is the affected software version?

The affected software version is Yarn before 1.21.1.

4

How can the package install functionality be abused?

The package install functionality can be abused to generate arbitrary symlinks on the host filesystem.

5

Are existing files at risk of being overwritten?

Yes, existing files could be overwritten depending on the current user permission set.

6

How can I fix CVE-2019-10773?

To fix CVE-2019-10773, update Yarn to version 1.21.1 or later.

7

Where can I find more information about CVE-2019-10773?

You can find more information about CVE-2019-10773 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-10773), [GitHub Issue](https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023), [GitHub Pull Request](https://github.com/yarnpkg/yarn/pull/7755).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203