UBUNTU-CVE-2024-31852

Source
https://ubuntu.com/security/CVE-2024-31852
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31852.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-31852
Related
Published
2024-04-05T15:15:00Z
Modified
2024-12-18T16:33:22Z
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

Ubuntu:Pro:14.04:LTS / llvm-toolchain-3.6

Package

Name
llvm-toolchain-3.6
Purl
pkg:deb/ubuntu/llvm-toolchain-3.6?arch=src?distro=esm-infra-legacy/trusty

Affected ranges

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

Affected versions

1:3.*

1:3.6-2ubuntu1~trusty1
1:3.6-2ubuntu1~trusty2

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:14.04:LTS / llvm-toolchain-3.8

Package

Name
llvm-toolchain-3.8
Purl
pkg:deb/ubuntu/llvm-toolchain-3.8?arch=src?distro=esm-infra-legacy/trusty

Affected ranges

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

Affected versions

1:3.*

1:3.8-2ubuntu3~trusty4
1:3.8-2ubuntu3~trusty5

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:14.04:LTS / llvm-toolchain-3.9

Package

Name
llvm-toolchain-3.9
Purl
pkg:deb/ubuntu/llvm-toolchain-3.9?arch=src?distro=esm-infra-legacy/trusty

Affected ranges

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

Affected versions

1:3.*

1:3.9.1-4ubuntu3~14.04.2
1:3.9.1-4ubuntu3~14.04.3

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:16.04:LTS / llvm-toolchain-3.6

Package

Name
llvm-toolchain-3.6
Purl
pkg:deb/ubuntu/llvm-toolchain-3.6?arch=src?distro=esm-infra/xenial

Affected ranges

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

Affected versions

1:3.*

1:3.6.2-1
1:3.6.2-3
1:3.6.2-3build1
1:3.6.2-3ubuntu1
1:3.6.2-3ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:16.04:LTS / llvm-toolchain-3.8

Package

Name
llvm-toolchain-3.8
Purl
pkg:deb/ubuntu/llvm-toolchain-3.8?arch=src?distro=esm-infra/xenial

Affected ranges

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

Affected versions

1:3.*

1:3.8~+rc1-1~exp1ubuntu3
1:3.8~+rc2-1~exp1ubuntu2
1:3.8-2ubuntu1
1:3.8-2ubuntu3
1:3.8-2ubuntu4

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:16.04:LTS / llvm-toolchain-4.0

Package

Name
llvm-toolchain-4.0
Purl
pkg:deb/ubuntu/llvm-toolchain-4.0?arch=src?distro=esm-infra/xenial

Affected ranges

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

Affected versions

1:4.*

1:4.0-1ubuntu1~16.04.1
1:4.0-1ubuntu1~16.04.2

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:16.04:LTS / llvm-toolchain-5.0

Package

Name
llvm-toolchain-5.0
Purl
pkg:deb/ubuntu/llvm-toolchain-5.0?arch=src?distro=esm-infra/xenial

Affected ranges

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

Affected versions

1:5.*

1:5.0-3~16.04.1

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:16.04:LTS / llvm-toolchain-6.0

Package

Name
llvm-toolchain-6.0
Purl
pkg:deb/ubuntu/llvm-toolchain-6.0?arch=src?distro=esm-infra/xenial

Affected ranges

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

Affected versions

1:6.*

1:6.0-1ubuntu2~16.04.1

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:16.04:LTS / llvm-toolchain-3.5

Package

Name
llvm-toolchain-3.5
Purl
pkg:deb/ubuntu/llvm-toolchain-3.5?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

1:3.*

1:3.5.2-2
1:3.5.2-3
1:3.5.2-3build1
1:3.5.2-3build2
1:3.5.2-3ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:16.04:LTS / llvm-toolchain-3.7

Package

Name
llvm-toolchain-3.7
Purl
pkg:deb/ubuntu/llvm-toolchain-3.7?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

1:3.*

1:3.7-2ubuntu1
1:3.7-2ubuntu2
1:3.7-4ubuntu1
1:3.7.1-1ubuntu1
1:3.7.1-1ubuntu2
1:3.7.1-1ubuntu3
1:3.7.1-1ubuntu4
1:3.7.1-2ubuntu1
1:3.7.1-2ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:16.04:LTS / llvm-toolchain-3.9

Package

Name
llvm-toolchain-3.9
Purl
pkg:deb/ubuntu/llvm-toolchain-3.9?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

1:3.*

1:3.9.1-4ubuntu3~16.04.1
1:3.9.1-4ubuntu3~16.04.2

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:16.04:LTS / llvm-toolchain-8

Package

Name
llvm-toolchain-8
Purl
pkg:deb/ubuntu/llvm-toolchain-8?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

1:8-3~ubuntu16.*

1:8-3~ubuntu16.04.1

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:18.04:LTS / llvm-toolchain-10

Package

Name
llvm-toolchain-10
Purl
pkg:deb/ubuntu/llvm-toolchain-10?arch=src?distro=esm-infra/bionic

Affected ranges

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

Affected versions

1:10.*

1:10.0.0-4ubuntu1~18.04.1
1:10.0.0-4ubuntu1~18.04.2

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:18.04:LTS / llvm-toolchain-3.9

Package

Name
llvm-toolchain-3.9
Purl
pkg:deb/ubuntu/llvm-toolchain-3.9?arch=src?distro=esm-infra/bionic

Affected ranges

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

Affected versions

1:3.*

1:3.9.1-17ubuntu1
1:3.9.1-18ubuntu1
1:3.9.1-19ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:18.04:LTS / llvm-toolchain-6.0

Package

Name
llvm-toolchain-6.0
Purl
pkg:deb/ubuntu/llvm-toolchain-6.0?arch=src?distro=esm-infra/bionic

Affected ranges

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

Affected versions

1:6.*

1:6.0~+rc1-1
1:6.0~+rc2-1
1:6.0-1ubuntu1
1:6.0-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:18.04:LTS / llvm-toolchain-7

Package

Name
llvm-toolchain-7
Purl
pkg:deb/ubuntu/llvm-toolchain-7?arch=src?distro=esm-infra/bionic

Affected ranges

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

Affected versions

1:7-3~ubuntu0.*

1:7-3~ubuntu0.18.04.1

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:18.04:LTS / llvm-toolchain-8

Package

Name
llvm-toolchain-8
Purl
pkg:deb/ubuntu/llvm-toolchain-8?arch=src?distro=esm-infra/bionic

Affected ranges

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

Affected versions

1:8-3~ubuntu18.*

1:8-3~ubuntu18.04.1
1:8-3~ubuntu18.04.2

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:18.04:LTS / llvm-toolchain-9

Package

Name
llvm-toolchain-9
Purl
pkg:deb/ubuntu/llvm-toolchain-9?arch=src?distro=esm-infra/bionic

Affected ranges

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

Affected versions

1:9-2~ubuntu18.*

1:9-2~ubuntu18.04.1
1:9-2~ubuntu18.04.2

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:18.04:LTS / llvm-toolchain-3.7

Package

Name
llvm-toolchain-3.7
Purl
pkg:deb/ubuntu/llvm-toolchain-3.7?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

1:3.*

1:3.7.1-5ubuntu3

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:18.04:LTS / llvm-toolchain-4.0

Package

Name
llvm-toolchain-4.0
Purl
pkg:deb/ubuntu/llvm-toolchain-4.0?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

1:4.*

1:4.0.1-6
1:4.0.1-8
1:4.0.1-10

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:Pro:18.04:LTS / llvm-toolchain-5.0

Package

Name
llvm-toolchain-5.0
Purl
pkg:deb/ubuntu/llvm-toolchain-5.0?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

1:5.*

1:5.0-3
1:5.0-4
1:5.0.1-1
1:5.0.1-2
1:5.0.1-4

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:20.04:LTS / llvm-toolchain-10

Package

Name
llvm-toolchain-10
Purl
pkg:deb/ubuntu/llvm-toolchain-10?arch=src?distro=focal

Affected ranges

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

Affected versions

Other

1:10~++20200121023453+de4b2a7fad6-1~exp1

1:10.*

1:10.0.0~+rc1-1~exp1
1:10.0.0~+rc2-2~build2
1:10.0.0~+rc2-2
1:10.0.0~+rc3-1
1:10.0.0~+rc3-1build1
1:10.0.0~+rc4-1
1:10.0.0~+rc5-1ubuntu1
1:10.0.0-1ubuntu1
1:10.0.0-1ubuntu2
1:10.0.0-2ubuntu1
1:10.0.0-2ubuntu2
1:10.0.0-3
1:10.0.0-4ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:20.04:LTS / llvm-toolchain-11

Package

Name
llvm-toolchain-11
Purl
pkg:deb/ubuntu/llvm-toolchain-11?arch=src?distro=focal

Affected ranges

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

Affected versions

1:11.*

1:11.0.0-2~ubuntu20.04.1

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:20.04:LTS / llvm-toolchain-12

Package

Name
llvm-toolchain-12
Purl
pkg:deb/ubuntu/llvm-toolchain-12?arch=src?distro=focal

Affected ranges

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

Affected versions

1:12.*

1:12.0.0-3ubuntu1~20.04.3
1:12.0.0-3ubuntu1~20.04.4
1:12.0.0-3ubuntu1~20.04.5

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:20.04:LTS / llvm-toolchain-6.0

Package

Name
llvm-toolchain-6.0
Purl
pkg:deb/ubuntu/llvm-toolchain-6.0?arch=src?distro=focal

Affected ranges

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

Affected versions

1:6.*

1:6.0.1-11
1:6.0.1-11ubuntu1
1:6.0.1-12
1:6.0.1-14

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:20.04:LTS / llvm-toolchain-7

Package

Name
llvm-toolchain-7
Purl
pkg:deb/ubuntu/llvm-toolchain-7?arch=src?distro=focal

Affected ranges

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

Affected versions

1:7.*

1:7.0.1-9build1
1:7.0.1-9ubuntu2
1:7.0.1-10
1:7.0.1-10build1
1:7.0.1-12

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:20.04:LTS / llvm-toolchain-8

Package

Name
llvm-toolchain-8
Purl
pkg:deb/ubuntu/llvm-toolchain-8?arch=src?distro=focal

Affected ranges

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

Affected versions

1:8.*

1:8.0.1-3build1
1:8.0.1-4
1:8.0.1-4ubuntu3
1:8.0.1-7build1
1:8.0.1-7ubuntu1
1:8.0.1-8ubuntu1
1:8.0.1-9

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:20.04:LTS / llvm-toolchain-9

Package

Name
llvm-toolchain-9
Purl
pkg:deb/ubuntu/llvm-toolchain-9?arch=src?distro=focal

Affected ranges

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

Affected versions

Other

1:9-2

1:9.*

1:9.0.0-3ubuntu2
1:9.0.0-4ubuntu4
1:9.0.1~+rc2-1~exp1
1:9.0.1~+rc2-1~exp1ubuntu1
1:9.0.1-1
1:9.0.1-2
1:9.0.1-6build1
1:9.0.1-8build1
1:9.0.1-8ubuntu1
1:9.0.1-9ubuntu1
1:9.0.1-10
1:9.0.1-11
1:9.0.1-11ubuntu1
1:9.0.1-12

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:22.04:LTS / llvm-toolchain-11

Package

Name
llvm-toolchain-11
Purl
pkg:deb/ubuntu/llvm-toolchain-11?arch=src?distro=jammy

Affected ranges

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

Affected versions

1:11.*

1:11.0.1-2ubuntu5
1:11.1.0-6

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}

Ubuntu:22.04:LTS / llvm-toolchain-12

Package

Name
llvm-toolchain-12
Purl
pkg:deb/ubuntu/llvm-toolchain-12?arch=src?distro=jammy

Affected ranges

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

Affected versions

1:12.*

1:12.0.1-8build1
1:12.0.1-16
1:12.0.1-19ubuntu3

Ecosystem specific

{
    "ubuntu_priority": "low",
    "priority_reason": "Upstream doesn't consider this to be an important issue"
}