CVE-2024-31852

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-31852
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31852.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-31852
Related
Published
2024-04-05T15:15:08Z
Modified
2024-12-05T18:07:58.463278Z
Summary
[none]
Details

LLVM before 18.1.3 generates code in which the LR register can be overwritten without data being saved to the stack, and thus there can sometimes be an exploitable error in the flow of control. This affects the ARM backend and can be demonstrated with Clang. NOTE: the vendor perspective is "we don't have strong objections for a CVE to be created ... It does seem that the likelihood of this miscompile enabling an exploit remains very low, because the miscompile resulting in this JOP gadget is such that the function is most likely to crash on most valid inputs to the function. So, if this function is covered by any testing, the miscompile is most likely to be discovered before the binary is shipped to production."

References

Affected packages

Debian:12 / llvm-toolchain-14

Package

Name
llvm-toolchain-14
Purl
pkg:deb/debian/llvm-toolchain-14?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:14.*

1:14.0.6-12
1:14.0.6-12+powerpc
1:14.0.6-13
1:14.0.6-14
1:14.0.6-16
1:14.0.6-16.1~exp1
1:14.0.6-16.1
1:14.0.6-17
1:14.0.6-18
1:14.0.6-19
1:14.0.6-20

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / llvm-toolchain-15

Package

Name
llvm-toolchain-15
Purl
pkg:deb/debian/llvm-toolchain-15?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:15.*

1:15.0.6-4
1:15.0.6-5~exp1
1:15.0.6-5~exp2
1:15.0.6-5~exp3
1:15.0.7-1
1:15.0.7-1+hurd.1
1:15.0.7-2
1:15.0.7-3
1:15.0.7-4
1:15.0.7-5~exp1
1:15.0.7-5
1:15.0.7-6
1:15.0.7-7
1:15.0.7-8
1:15.0.7-9
1:15.0.7-10
1:15.0.7-10.1~exp1
1:15.0.7-11
1:15.0.7-11.1
1:15.0.7-12
1:15.0.7-13
1:15.0.7-14
1:15.0.7-15
1:15.0.7-15+hurd.1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / llvm-toolchain-15

Package

Name
llvm-toolchain-15
Purl
pkg:deb/debian/llvm-toolchain-15?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:15.*

1:15.0.6-4
1:15.0.6-5~exp1
1:15.0.6-5~exp2
1:15.0.6-5~exp3
1:15.0.7-1
1:15.0.7-1+hurd.1
1:15.0.7-2
1:15.0.7-3
1:15.0.7-4
1:15.0.7-5~exp1
1:15.0.7-5
1:15.0.7-6
1:15.0.7-7
1:15.0.7-8
1:15.0.7-9
1:15.0.7-10
1:15.0.7-10.1~exp1
1:15.0.7-11
1:15.0.7-11.1
1:15.0.7-12
1:15.0.7-13
1:15.0.7-14
1:15.0.7-15
1:15.0.7-15+hurd.1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:11 / llvm-toolchain-16

Package

Name
llvm-toolchain-16
Purl
pkg:deb/debian/llvm-toolchain-16?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:16.*

1:16.0.0~+rc1-1~exp1
1:16.0.0~+rc2-1~exp1
1:16.0.0~+rc3-1~exp1
1:16.0.0~+rc4-1~exp1
1:16.0.0-1~exp1
1:16.0.0-1~exp2
1:16.0.0-1~exp3
1:16.0.0-1~exp4
1:16.0.0-1~exp5
1:16.0.1-1~exp1
1:16.0.1-1~exp2
1:16.0.2-1~exp1
1:16.0.3-1~exp1
1:16.0.4-1~exp1
1:16.0.5-1~exp1
1:16.0.5-1
1:16.0.6-1
1:16.0.6-2
1:16.0.6-3
1:16.0.6-4
1:16.0.6-5
1:16.0.6-6
1:16.0.6-7
1:16.0.6-8
1:16.0.6-9
1:16.0.6-10
1:16.0.6-11
1:16.0.6-12
1:16.0.6-13
1:16.0.6-14
1:16.0.6-15~deb11u1
1:16.0.6-15~deb11u2
1:16.0.6-15~deb12u1
1:16.0.6-15
1:16.0.6-15exp1
1:16.0.6-15+x32
1:16.0.6-16
1:16.0.6-17
1:16.0.6-17exp1
1:16.0.6-18
1:16.0.6-19
1:16.0.6-19.1~exp1
1:16.0.6-20
1:16.0.6-21
1:16.0.6-22
1:16.0.6-23
1:16.0.6-24
1:16.0.6-25
1:16.0.6-26
1:16.0.6-27
1:16.0.6-27+hurd.1
1:16.0.6-27+x32

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / llvm-toolchain-16

Package

Name
llvm-toolchain-16
Purl
pkg:deb/debian/llvm-toolchain-16?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:16.*

1:16.0.0~+rc1-1~exp1
1:16.0.0~+rc2-1~exp1
1:16.0.0~+rc3-1~exp1
1:16.0.0~+rc4-1~exp1
1:16.0.0-1~exp1
1:16.0.0-1~exp2
1:16.0.0-1~exp3
1:16.0.0-1~exp4
1:16.0.0-1~exp5
1:16.0.1-1~exp1
1:16.0.1-1~exp2
1:16.0.2-1~exp1
1:16.0.3-1~exp1
1:16.0.4-1~exp1
1:16.0.5-1~exp1
1:16.0.5-1
1:16.0.6-1
1:16.0.6-2
1:16.0.6-3
1:16.0.6-4
1:16.0.6-5
1:16.0.6-6
1:16.0.6-7
1:16.0.6-8
1:16.0.6-9
1:16.0.6-10
1:16.0.6-11
1:16.0.6-12
1:16.0.6-13
1:16.0.6-14
1:16.0.6-15~deb11u1
1:16.0.6-15~deb11u2
1:16.0.6-15~deb12u1
1:16.0.6-15
1:16.0.6-15exp1
1:16.0.6-15+x32
1:16.0.6-16
1:16.0.6-17
1:16.0.6-17exp1
1:16.0.6-18
1:16.0.6-19
1:16.0.6-19.1~exp1
1:16.0.6-20
1:16.0.6-21
1:16.0.6-22
1:16.0.6-23
1:16.0.6-24
1:16.0.6-25
1:16.0.6-26
1:16.0.6-27
1:16.0.6-27+hurd.1
1:16.0.6-27+x32

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / llvm-toolchain-17

Package

Name
llvm-toolchain-17
Purl
pkg:deb/debian/llvm-toolchain-17?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:17.*

1:17.0.0~+rc2-1~exp1
1:17.0.0~+rc3-1~exp1
1:17.0.0~+rc4-1~exp1
1:17.0.0~+rc4-1~exp2
1:17.0.0~+rc4-1~exp3
1:17.0.0~+rc4-1~exp4
1:17.0.0~+rc4-1~exp5
1:17.0.1-1~exp1
1:17.0.1-1~exp2
1:17.0.2-1~exp1
1:17.0.3-1~exp1
1:17.0.4-1
1:17.0.5-1
1:17.0.6-1
1:17.0.6-2
1:17.0.6-3
1:17.0.6-4
1:17.0.6-5
1:17.0.6-5.1~exp1
1:17.0.6-6
1:17.0.6-7
1:17.0.6-9
1:17.0.6-9+powerpc.1
1:17.0.6-10
1:17.0.6-11
1:17.0.6-11+hurd.1
1:17.0.6-12
1:17.0.6-12+x32
1:17.0.6-13
1:17.0.6-14
1:17.0.6-15
1:17.0.6-17
1:17.0.6-18

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / llvm-toolchain-18

Package

Name
llvm-toolchain-18
Purl
pkg:deb/debian/llvm-toolchain-18?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:18.1.3-1

Affected versions

1:18.*

1:18.1.0~rc1-1
1:18.1.0~rc1-2
1:18.1.0~rc1-3
1:18.1.0~rc2-1
1:18.1.0~rc2-2
1:18.1.0~rc2-3
1:18.1.0~rc2-4
1:18.1.0~rc4-1
1:18.1.0~rc4-2
1:18.1.0~++20240126095841+0991d3c7b53d-1~exp1
1:18.1.0-1
1:18.1.0-1+powerpc
1:18.1.0-2
1:18.1.0-rc1-1~exp1
1:18.1.1-1
1:18.1.2-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Git / github.com/llvm/llvm-project

Affected ranges

Type
GIT
Repo
https://github.com/llvm/llvm-project
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/llvmbot/llvm-project
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

llvmorg-10-init
llvmorg-11-init
llvmorg-12-init
llvmorg-13-init
llvmorg-14-init
llvmorg-15-init
llvmorg-16-init
llvmorg-17-init
llvmorg-18-init

llvmorg-18.*

llvmorg-18.1.0
llvmorg-18.1.0-rc1
llvmorg-18.1.0-rc2
llvmorg-18.1.0-rc3
llvmorg-18.1.0-rc4
llvmorg-18.1.1
llvmorg-18.1.2

studio-1.*

studio-1.4