Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Informational severity, published 3 September 2020.
- Which products and versions are affected?
- @commercial/subtext (npm) SEMVER:introduced=0,fixed=5.1.2.
- Is there a fix for This vulnerability?
- Yes. @commercial/subtext (npm): upgrade to 5.1.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network, in a software library.
- Am I affected?
- Check whether you run @commercial/subtext (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
- @commercial/subtext (npm): upgrade to 5.1.2 or later
npm install @commercial/subtext@5.1.2
Technical details
A prototype pollution vulnerability exists in @commercial/subtext versions prior to 5.1.2. An attacker can construct a malicious multipart payload where one of the parts is used to set the prototype of the entire payload object. If the injected prototype contains specific data, it can be used to bypass validation logic that relies on object properties for access control or privacy. Alternatively, if the prototype is set to null, it can trigger unhandled exceptions and a denial-of-service state when the application attempts to access the request payload. The issue is fixed in version 5.1.2.
Affected products
- Commercial @commercial/subtext < 5.1.2
Timeline
- 2020-08-31: advisory: GitHub reviewed the advisory
- 2020-09-03: disclosed: Advisory published via GHSA