An exploitable use-after-free vulnerability exists in the account parsing component of the Ledger-CLI 3.1.1. A specially crafted ledger file can cause a use-after-free vulnerability resulting in arbitrary code execution. An attacker can convince a user to load a journal file to trigger this vulnerability.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/100546 | vdb entry third party advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00031.html | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00029.html | vendor advisory |
https://security.gentoo.org/glsa/202004-05 | vendor advisory |
https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0304 | third party advisory technical description |