CVE-2019-5023

An exploitable vulnerability exists in the grsecurity PaX patch for the function read_kmem, in PaX from version pax-linux-4.9.8-test1 to 4.9.24-test7, grsecurity official from version grsecurity-3.1-4.9.8-201702060653 to grsecurity-3.1-4.9.24-201704252333, grsecurity unofficial from version v4.9.25-unofficialgrsec to v4.9.74-unofficialgrsec. PaX adds a temp buffer to the read_kmem function, which is never freed when an invalid address is supplied. This results in a memory leakage that can lead to a crash of the system. An attacker needs to induce a read to /dev/kmem using an invalid address to exploit this vulnerability.
References
Link Resource
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0784 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:opensrcsec:grsecurity:*:*:*:*:official:*:*:*
cpe:2.3:a:opensrcsec:grsecurity:*:*:*:*:unofficial:*:*:*
cpe:2.3:a:opensrcsec:pax:*:*:*:*:*:*:*:*

History

26 May 2021, 13:47

Type Values Removed Values Added
CPE cpe:2.3:a:gresecurity:gresecurity:*:*:*:*:official:*:*:*
cpe:2.3:a:gresecurity:gresecurity:*:*:*:*:unofficial:*:*:*
cpe:2.3:a:gresecurity:pax:*:*:*:*:*:*:*:*
cpe:2.3:a:opensrcsec:grsecurity:*:*:*:*:official:*:*:*
cpe:2.3:a:opensrcsec:grsecurity:*:*:*:*:unofficial:*:*:*
cpe:2.3:a:opensrcsec:pax:*:*:*:*:*:*:*:*

Information

Published : 2019-10-31 21:15

Updated : 2023-12-10 13:13


NVD link : CVE-2019-5023

Mitre link : CVE-2019-5023

CVE.ORG link : CVE-2019-5023


JSON object : View

Products Affected

opensrcsec

  • grsecurity
  • pax
CWE
CWE-772

Missing Release of Resource after Effective Lifetime

CWE-401

Missing Release of Memory after Effective Lifetime