Gentoo update for Oniguruma

Published: 2019-11-07
Severity High
Patch available YES
Number of vulnerabilities 2
CVE ID CVE-2019-13224
CVE-2019-13225
CWE ID CWE-416
CWE-476
Exploitation vector Network
Public exploit N/A
Vulnerable software Gentoo Linux Subscribe
Vendor Gentoo

Security Advisory

1) Use-after-free

Severity: High

CVSSv3: 7.7 [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2019-13224

CWE-ID: CWE-416 - Use After Free

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the onig_new_deluxe() function in regext.c in Oniguruma library when processing regular expressions. A remote attacker can pass specially crafted input to the application using the vulnerable library version, trigger use-after-free error and perform denial of service attack or execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation

Update the affected packages.
dev-libs/oniguruma to version: 6.9.3

Vulnerable software versions

Gentoo Linux: -

CPE External links

https://security.gentoo.org/https://security.gentoo.org/glsa/201911-03

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) NULL pointer dereference

Severity: Low

CVSSv3: 3.8 [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-13225

CWE-ID: CWE-476 - NULL Pointer Dereference

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dreference error in match_at() function  in regcomp.c in Oniguruma library. A remote attacker can perform a denial of service (DoS) attack.

Mitigation

Update the affected packages.
dev-libs/oniguruma to version: 6.9.3

Vulnerable software versions

Gentoo Linux: -

CPE External links

https://security.gentoo.org/https://security.gentoo.org/glsa/201911-03

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.