Fedora Account System
Red Hat Associate
Red Hat Customer
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process. Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, an unchecked vsnprintf return in SStream_concat lets a malicious cs_opt_mem.vsnprintf drive SStream’s index negative or past the end, leading to a stack buffer underflow/overflow when the next write occurs. Commit 2c7797182a1618be12017d7d41e0b6581d5d529e fixes the issue.
Capstone is an optional Rust dependency used only behind the disasm Cargo feature in YJIT/ZJIT. This feature is not enabled in Fedora Ruby builds and capstone is not built, linked, or shipped. Ref : https://github.com/ruby/ruby/blob/09fdc3bed9bd0bff37c7a56ef38964654a599e87/yjit/Cargo.toml#L15 https://github.com/ruby/ruby/blob/09fdc3bed9bd0bff37c7a56ef38964654a599e87/yjit/src/disasm.rs#L162-L216