Quick answers
- Is CVE-2021-29369 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2021-29369 being exploited in the wild.
- How severe is CVE-2021-29369?
- Low severity, with a CVSS score of 3.1, published 10 February 2022.
- Which products and versions are affected?
- @rkesters/gnuplot (npm) SEMVER:introduced=0,fixed=0.1.1.
- Is there a fix for CVE-2021-29369?
- Yes. @rkesters/gnuplot (npm): upgrade to 0.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2021-29369 attacked?
- It is attacked over the network.
- Am I affected by CVE-2021-29369?
- Check whether you run @rkesters/gnuplot (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- @rkesters/gnuplot (npm): upgrade to 0.1.1 or later
npm install @rkesters/gnuplot@0.1.1
Technical details
The vulnerability is a command injection flaw (CWE-77, CWE-78) in the gnuplot library prior to version 0.1.1. The library fails to properly sanitize shell metacharacters in gnuplot commands before passing them to the shell, allowing attackers to inject arbitrary shell commands. The attack requires network access to an application using the vulnerable library, with no authentication or user interaction needed. An unauthenticated attacker can achieve remote code execution with full system privileges. The fix, available in version 0.1.1, implements filename validation to prevent shell metacharacter injection.
Affected products
- @rkesters gnuplot before 0.1.1
Identifiers
- CVE-2021-29369
- GHSA-f2jw-pr2c-9x96
Timeline
- 2021-05-03: disclosed: Published to NVD
- 2021-05-19: patched: Fixed in version 0.1.1 with filename validation
- 2022-02-10: advisory: GitHub advisory published