Skip to content
OpenAdvisories

Package · Debian

ruby-oj

11 known vulnerabilities.

3 results · Clear filters · Feed

  • Low 2.1

    Oj: Use-After-Free in Oj::Parser SAJ Callback via Input Mutation

    Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2,Oj::Parser#parse is vulnerable to a heap use-after-free when a SAJ/SAJ2 callback mutates the input JSON string during parsing. The C engine holds a …

  • Low 2.1

    Oj : Use-After-Free in Oj::Doc Iterators via Reentrant Close

    Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. Prior to 3.17.2, Oj::Doc iterators (each_value, each_child, each_leaf) were vulnerable to a heap use-after-free. When a Ruby block yielded during iteration calls doc.close or d…

  • Low 2.1

    Oj: Heap Buffer Overflow in Oj.dump Exception Serialization via Large Indent

    Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, when in object mode, Oj.dump is vulnerable to a heap buffer overflow when serializing Exception objects with a large :indent value. The serializer …