OSV-2023-322 Use-after-poison in str_new_frozen_buffer
A use-after-poison vulnerability in Ruby's string handling allows attackers to potentially execute code or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Not stated
- Victim action needed
- Not stated
- Fix
- None listed
What is OSV-2023-322?
OSV-2023-322 is an use after free vulnerability in ruby, published on 17 Apr 2023.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58079
Crash type: Use-after-poison READ 8
Crash state:
str_new_frozen_buffer
fstr_update_callback
rb_st_update
Which versions are affected by OSV-2023-322?
1 open source package ship an affected version, including ruby.
| Package | Affected | Fixed in |
|---|---|---|
ruby OSS-Fuzz | All versions | None |
How do I fix OSV-2023-322?
No fix has been published for OSV-2023-322 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2023-322 being exploited?
There is no known exploitation of OSV-2023-322 in the wild and no public exploit code.