GHSA-fjwf-xjgm-gr67HighCVSS 7.8
bitproto before 1.3.3 contains a code injection vulnerability that allows attackers to inject...
🔗 CVE IDs covered (1)
📋 Description
bitproto before 1.3.3 contains a code injection vulnerability that allows attackers to inject code into generated sources by embedding double quotes in .bitproto string constants. Attackers can supply a crafted schema whose constant closes the literal in the generated _bp.py module, executing Python code when developers or CI jobs import it.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-144446
- https://github.com/hit9/bitproto/issues/88
- https://github.com/hit9/bitproto/pull/89
- https://github.com/hit9/bitproto/commit/ec51a5bee47532e793777cdefa9236502cd0c4e5
- https://github.com/hit9/bitproto/blob/v1.3.2/compiler/bitproto/renderer/impls/py/formatter.py#L63-L65
- https://github.com/hit9/bitproto/releases/tag/v1.3.3
- https://www.vulncheck.com/advisories/bitproto-before-1.3.3-code-injection-via-unescaped-string-constants
- https://github.com/advisories/GHSA-fjwf-xjgm-gr67