VDB
GHSA-5v2h-r2cx-5xgj
GHSA-5v2h-r2cx-5xgj
PUBLISHED
CVSS 7.5 HIGH
Inefficient Regular Expression Complexity in marked
Record from GitHub Advisory Database · Published January 14, 2022
marked is fixed in 4.0.10 (npm)
Inefficient Regular Expression Complexity in marked
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| marked | npm | 4.0.10 |
| arangodb-3.12 | Chainguard | 3.12.9.4-r14 |
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| npm | marked | 0 |
| chainguard | arangodb-3.12 | 0 |
| npm | marked |
Timeline
- Jan 14, 2022 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-5v2h-r2cx-5xgj
vulnetix vdb fixes GHSA-5v2h-r2cx-5xgj
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-5v2h-r2cx-5xgj/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/markedjs/marked/security/advisories/GHSA-5v2h-r2cx-5xgj url
- https://github.com/markedjs/marked/commit/8f806573a3f6c6b7a39b8cdb66ab5ebb8d55a5f5 url
- https://github.com/markedjs/marked/commit/c4a3ccd344b6929afa8a1d50ac54a721e57012c0 url
- https://nvd.nist.gov/vuln/detail/CVE-2022-21681 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AIXDMC3CSHYW3YWVSQOXAWLUYQHAO5UX url
- https://github.com/markedjs/marked package