UBUNTU-CVE-2024-45159

Source
https://ubuntu.com/security/CVE-2024-45159
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45159.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-45159
Related
Published
2024-09-05T19:15:00Z
Modified
2024-10-15T14:16:56Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in Mbed TLS 3.x before 3.6.1. With TLS 1.3, when a server enables optional authentication of the client, if the client-provided certificate does not have appropriate values in if keyUsage or extKeyUsage extensions, then the return value of mbedtlssslgetverifyresult() would incorrectly have the MBEDTLSX509BADCERTKEYUSAGE and MBEDTLSX509BADCERTKEYUSAGE bits clear. As a result, an attacker that had a certificate valid for uses other than TLS client authentication would nonetheless be able to use it for TLS client authentication. Only TLS 1.3 servers were affected, and only with optional authentication (with required authentication, the handshake would be aborted with a fatal alert).

References

Affected packages

Ubuntu:Pro:16.04:LTS / mbedtls

Package

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

Affected ranges

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

Affected versions

2.*

2.1.2-1
2.2.0-1
2.2.1-1
2.2.1-2
2.2.1-2ubuntu0.1
2.2.1-2ubuntu0.2
2.2.1-2ubuntu0.3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / mbedtls

Package

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

Affected ranges

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

Affected versions

2.*

2.5.1-1ubuntu1
2.6.0-1
2.7.0-2
2.8.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/ubuntu/mbedtls?arch=src?distro=focal

Affected ranges

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

Affected versions

2.*

2.16.2-1
2.16.3-1
2.16.4-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/ubuntu/mbedtls?arch=src?distro=jammy

Affected ranges

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

Affected versions

2.*

2.16.9-0.1ubuntu1
2.16.11-0.1ubuntu1
2.16.11-0.3
2.28.0-1
2.28.0-1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/ubuntu/mbedtls?arch=src?distro=oracular

Affected ranges

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

Affected versions

2.*

2.28.8-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/ubuntu/mbedtls?arch=src?distro=noble

Affected ranges

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

Affected versions

2.*

2.28.3-1
2.28.6-1ubuntu1
2.28.7-1ubuntu1
2.28.7-1.1ubuntu1
2.28.8-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}