Skip to content

CVE-2019-19203 An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function gb18030_mbc_enc_len in file gb18030.c, a UChar pointer is dereferenced without checking if it passed the end of the matched s...

HighCVSS 7.5 EPSS 4.1%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function gb18030_mbc_enc_len in file gb18030.c, a UChar pointer is dereferenced without checking if it passed the end of the matched string. This leads to a heap-based buffer over-read.

Upgrade path

8 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/libonig(Debian 12) < 6.9.4-1 6.9.4-1 Fixed
debian/libonig(Debian 13) < 6.9.4-1 6.9.4-1 Fixed
debian/libonig(Debian 14) < 6.9.4-1 6.9.4-1 Fixed
oniguruma project oniguruma = 6.9.4-rc1; >= 6.0.0, < 6.9.4 6.9.4 Fixed
ubuntu/libonig(Ubuntu Pro 14.04) < 5.9.1-1ubuntu1.1+esm3; = 5.9.1-1; = 5.9.1-1ubuntu1; = 5.9.1-1ubuntu1.1 +2 more 5.9.1-1ubuntu1.1+esm3 Fixed
ubuntu/libonig(Ubuntu Pro 16.04) < 5.9.6-1ubuntu0.1+esm3; = 5.9.6-1; = 5.9.6-1ubuntu0.1; = 5.9.6-1ubuntu0.1+esm1 +1 more 5.9.6-1ubuntu0.1+esm3 Fixed
ubuntu/libonig(Ubuntu Pro 18.04) < 6.7.0-1ubuntu0.1~esm2; = 6.5.0-1; = 6.6.1-1; = 6.7.0-1 +1 more 6.7.0-1ubuntu0.1~esm2 Fixed
fedoraproject fedora = 30; = 31 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/libonig(Debian:12) < 6.9.4-1 6.9.4-1
debian/libonig(Debian:13) < 6.9.4-1 6.9.4-1
debian/libonig(Debian:14) < 6.9.4-1 6.9.4-1
oniguruma project oniguruma >= 6.0.0, < 6.9.4 6.9.4
oniguruma project oniguruma = 6.9.4-rc1 No fix listed
fedoraproject fedora = 30 No fix listed
fedoraproject fedora = 31 No fix listed
ubuntu/libonig(Ubuntu:Pro:14.04) < 5.9.1-1ubuntu1.1+esm3 5.9.1-1ubuntu1.1+esm3
ubuntu/libonig(Ubuntu:Pro:14.04) = 5.9.1-1 No fix listed
ubuntu/libonig(Ubuntu:Pro:14.04) = 5.9.1-1ubuntu1 No fix listed
ubuntu/libonig(Ubuntu:Pro:14.04) = 5.9.1-1ubuntu1.1 No fix listed
ubuntu/libonig(Ubuntu:Pro:14.04) = 5.9.1-1ubuntu1.1+esm1 No fix listed
ubuntu/libonig(Ubuntu:Pro:14.04) = 5.9.1-1ubuntu1.1+esm2 No fix listed
ubuntu/libonig(Ubuntu:Pro:16.04) < 5.9.6-1ubuntu0.1+esm3 5.9.6-1ubuntu0.1+esm3
ubuntu/libonig(Ubuntu:Pro:16.04) = 5.9.6-1 No fix listed
ubuntu/libonig(Ubuntu:Pro:16.04) = 5.9.6-1ubuntu0.1 No fix listed
ubuntu/libonig(Ubuntu:Pro:16.04) = 5.9.6-1ubuntu0.1+esm1 No fix listed
ubuntu/libonig(Ubuntu:Pro:16.04) = 5.9.6-1ubuntu0.1+esm2 No fix listed
ubuntu/libonig(Ubuntu:Pro:18.04) < 6.7.0-1ubuntu0.1~esm2 6.7.0-1ubuntu0.1~esm2
ubuntu/libonig(Ubuntu:Pro:18.04) = 6.5.0-1 No fix listed
ubuntu/libonig(Ubuntu:Pro:18.04) = 6.6.1-1 No fix listed
ubuntu/libonig(Ubuntu:Pro:18.04) = 6.7.0-1 No fix listed
ubuntu/libonig(Ubuntu:Pro:18.04) = 6.7.0-1ubuntu0.1~esm1 No fix listed

References