UBUNTU-CVE-2023-38710

Source
https://ubuntu.com/security/CVE-2023-38710
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-38710.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2023-38710
Related
Published
2023-08-25T21:15:00Z
Modified
2024-10-15T14:11:41Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.

References

Affected packages

Ubuntu:Pro:18.04:LTS / libreswan

Package

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

Affected ranges

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

Affected versions

3.*

3.20-7build1
3.21-2
3.22-1
3.22-2
3.22-3
3.22-4
3.23-1
3.23-4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / libreswan

Package

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

Affected ranges

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

Affected versions

3.*

3.29-2
3.29-2build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / libreswan

Package

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

Affected ranges

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

Affected versions

3.*

3.32-3ubuntu3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / libreswan

Package

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

Affected ranges

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

Affected versions

4.*

4.14-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / libreswan

Package

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

Affected ranges

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

Affected versions

4.*

4.11-1ubuntu1
4.12-1ubuntu1
4.14-1ubuntu1
4.14-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}