ADVISORIES

openEuler Security Advisory

OESA-2025-1156

yajl security update

Details

yajl is a small event-driven JSON parser written in ANSI C, and a small validating JSON generator.

Security Fix(es):

In the yajl-ruby gem 1.3.0 for Ruby, when a crafted JSON file is supplied to Yajl::Parser.new.parse, the whole ruby process crashes with a SIGABRT in the yajl_string_decode function in yajl_encode.c. This results in the whole ruby process terminating and potentially a denial of service.(CVE-2017-16516)

Affected packages

EcosystemPackageAffected versions
openEuler:24.03-LTSyajl
All versions before 2.1.0-21.oe2403sp1 (fixed in 2.1.0-21.oe2403sp1)
openEuler:24.03-LTS-SP1yajl
All versions before 2.1.0-21.oe2403sp1 (fixed in 2.1.0-21.oe2403sp1)
openEuler:20.03-LTS-SP4yajl
All versions before 2.1.0-19.oe2003sp4 (fixed in 2.1.0-19.oe2003sp4)
openEuler:22.03-LTS-SP3yajl
All versions before 2.1.0-21.oe2203sp3 (fixed in 2.1.0-21.oe2203sp3)
openEuler:22.03-LTS-SP4yajl
All versions before 2.1.0-21.oe2203sp4 (fixed in 2.1.0-21.oe2203sp4)

References