Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2017-14064 →
Unrated

Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using str...

UBUNTU-CVE-2017-14064 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:14.04:LTSruby1.9.1
< 1.9.3.484-2ubuntu1.5→ 1.9.3.484-2ubuntu1.5
Ubuntu:14.04:LTSruby2.0
< 2.0.0.484-1ubuntu2.10→ 2.0.0.484-1ubuntu2.10
Ubuntu:16.04:LTSruby2.3
< 2.3.1-2~16.04.5→ 2.3.1-2~16.04.5
Original description The description as published by the source.

Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using strdup in ext/json/ext/generator/generator.c, which will stop after encountering a '\0' byte, returning a pointer to a string of length zero, which is not the length stored in space_len.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details