diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2017-09-15 14:36:58 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-18 11:07:23 +0100 |
commit | 17dbfd967019f9b50a9f6aa3f48cd3658fcccc70 (patch) | |
tree | 55e1691cedcba06a5145a01677c10787bb3a11a5 /scripts/tiny | |
parent | af7c8f8a9bfc3396dc729f3fc54c38d19f2aa3fc (diff) | |
download | openembedded-core-17dbfd967019f9b50a9f6aa3f48cd3658fcccc70.tar.gz openembedded-core-17dbfd967019f9b50a9f6aa3f48cd3658fcccc70.tar.bz2 openembedded-core-17dbfd967019f9b50a9f6aa3f48cd3658fcccc70.zip |
ruby: CVE-2017-14064
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.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-14064
Upstream patch:
https://github.com/flori/json/commit/8f782fd8e181d9cfe9387ded43a5ca9692266b85
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/tiny')
0 files changed, 0 insertions, 0 deletions