cve/2024/CVE-2024-34158.md

21 lines
798 B
Markdown
Raw Normal View History

2025-09-29 16:08:36 +00:00
### [CVE-2024-34158](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34158)
![](https://img.shields.io/static/v1?label=Product&message=go%2Fbuild%2Fconstraint&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%201.22.7%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-674%3A%20Uncontrolled%20Recursion&color=brighgreen)
### Description
Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/adegoodyer/kubernetes-admin-toolkit
- https://github.com/bygregonline/devsec-fastapi-report
- https://github.com/kaisensan/desafio-girus-pick
- https://github.com/kodai-160/article