UBUNTU-CVE-2023-2295

Source
https://ubuntu.com/security/CVE-2023-2295
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2295.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-2295
Upstream
Published
2023-05-17T23:15:00Z
Modified
2026-01-20T17:36:45.942504Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1 Aggressive Mode packet is received with only unacceptable crypto algorithms, and the response packet is not sent with a zero responder SPI. When a subsequent packet is received where the sender reuses the libreswan responder SPI as its own initiator SPI, the pluto daemon state machine crashes. No remote code execution is possible. This CVE exists because of a CVE-2023-30570 security regression for libreswan package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.

References

Affected packages

Ubuntu:18.04:LTS / libreswan

Package

Name
libreswan
Purl
pkg:deb/ubuntu/libreswan@3.23-4?arch=source&distro=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

{
    "binaries": [
        {
            "binary_version": "3.23-4",
            "binary_name": "libreswan"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2295.json"

Ubuntu:20.04:LTS / libreswan

Package

Name
libreswan
Purl
pkg:deb/ubuntu/libreswan@3.29-2build1?arch=source&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

{
    "binaries": [
        {
            "binary_version": "3.29-2build1",
            "binary_name": "libreswan"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2295.json"

Ubuntu:22.04:LTS / libreswan

Package

Name
libreswan
Purl
pkg:deb/ubuntu/libreswan@3.32-3ubuntu3?arch=source&distro=jammy

Affected ranges

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

Affected versions

3.*
3.32-3ubuntu3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.32-3ubuntu3",
            "binary_name": "libreswan"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2295.json"

Ubuntu:24.04:LTS / libreswan

Package

Name
libreswan
Purl
pkg:deb/ubuntu/libreswan@4.14-1ubuntu2?arch=source&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

{
    "binaries": [
        {
            "binary_version": "4.14-1ubuntu2",
            "binary_name": "libreswan"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2295.json"

Ubuntu:25.10 / libreswan

Package

Name
libreswan
Purl
pkg:deb/ubuntu/libreswan@5.2-2.2ubuntu1?arch=source&distro=questing

Affected ranges

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

Affected versions

4.*
4.14-1ubuntu2
5.*
5.2-2.2ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.2-2.2ubuntu1",
            "binary_name": "libreswan"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2295.json"