Quick answers
- Is CVE-2021-23372 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2021-23372 being exploited in the wild.
- How severe is CVE-2021-23372?
- Low severity, with a CVSS score of 3.1, published 6 October 2021.
- Which products and versions are affected?
- mongo-express (npm) SEMVER:introduced=0,last_affected=0.54.0.
- Is there a fix for CVE-2021-23372?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2021-23372 attacked?
- It is attacked over the network.
- Am I affected by CVE-2021-23372?
- Check whether you run mongo-express (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.
Technical details
The vulnerability is an unhandled exception (CWE-754) in mongo-express's CSV export functionality when processing empty collections. The attack requires high-privilege administrative access to the mongo-express interface and network reachability to the web application. When an attacker attempts to export an empty collection as CSV, a crash occurs due to improper error handling. The affected versions are 0.54.0 and all previous versions. Patches addressing this issue are available in later releases.
Affected products
- mongo-express mongo-express 0.54.0 and earlier
Identifiers
- CVE-2021-23372
- GHSA-m2r3-8492-vx59
Timeline
- 2021-04-13: disclosed: CVE published
- 2021-10-06: advisory: GHSA advisory published