Open-source package vulnerability · Composer (PHP)
GHSA-4cv2-xc5f-px8h: Denial of Service in extension "Code Highlight" (codehighlight)
mediumCVSS 3.1 5.0
The codehighlight extension bundles a vulnerable version of the 3rd party JavaScript component “prism” which is known to be vulnerable against Regular expression Denial of Service (ReDoS).
Published May 15, 2024
Affected packages
brotkrueml/codehighlight
- Ecosystem
- Composer (PHP)
- Affected
- < 2.5.0
- Fixed in
- 2.5.0
- Check
composer show brotkrueml/codehighlight
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The codehighlight extension bundles a vulnerable version of the 3rd party JavaScript component “prism” which is known to be vulnerable against Regular expression Denial of Service (ReDoS).
References
- https://github.com/brotkrueml/codehighlight/commit/c2f05e5200f1562a3fba2de1f12ee9872f883e2c
- https://github.com/FriendsOfPHP/security-advisories/blob/master/brotkrueml/codehighlight/2021-03-16-1.yaml
- https://typo3.org/security/advisory/typo3-ext-sa-2021-002
- https://github.com/advisories/GHSA-4cv2-xc5f-px8h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
