Cloud Foundry Logo
blog single gear
Security Advisory

USN-6842-1: gdb vulnerabilities

Severity

Medium

Vendor

Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 16.04
  • Canonical Ubuntu 18.04
  • Canonical Ubuntu 22.04

Description

It was discovered that gdb incorrectly handled certain memory operations when parsing an ELF file. An attacker could possibly use this issue to cause a denial of service. This issue is the result of an incomplete fix for CVE-2020-16599. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-4285) It was discovered that gdb incorrectly handled memory leading to a heap based buffer overflow. An attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-1972) It was discovered that gdb incorrectly handled memory leading to a stack overflow. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-39128) It was discovered that gdb had a use after free vulnerability under certain circumstances. An attacker could use this to cause a denial of service or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-39129) It was discovered that gdb incorrectly handled memory leading to a heap based buffer overflow. An attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-39130) Update Instructions: Run `sudo pro fix USN-6842-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: gdb – 7.11.1-0ubuntu1~16.5+esm1 gdb-doc – 7.11.1-0ubuntu1~16.5+esm1 gdb-multiarch – 7.11.1-0ubuntu1~16.5+esm1 gdb-source – 7.11.1-0ubuntu1~16.5+esm1 gdb64 – 7.11.1-0ubuntu1~16.5+esm1 gdbserver – 7.11.1-0ubuntu1~16.5+esm1 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

CVEs contained in this USN include: CVE-2023-1972, CVE-2022-4285, CVE-2023-39128, CVE-2023-39129, CVE-2023-39130.

Affected Cloud Foundry Products and Versions

Severity is medium unless otherwise noted.

  • cflinuxfs4
    • All versions prior to 1.99.0
  • Jammy Stemcells
    • 1.x versions prior to 1.486
    • All other stemcells not listed.
  • CF Deployment
    • All versions prior to 30.0.0, or later versions with Jammy Stemcells prior to 1.486

Mitigation

Users of affected products are strongly encouraged to follow the mitigations below.

The Cloud Foundry project recommends upgrading the following releases:

  • cflinuxfs4
    • Upgrade all versions to 1.99.0 or greater
  • Jammy Stemcells
    • Upgrade 1.x versions to 1.486 or greater
    • All other stemcells should be upgraded to the latest version available on bosh.io.
  • CF Deployment
    • Upgrade all versions to 30.0.0 or greater and upgrade Jammy Stemcells to 1.486 or greater

History

2024-07-25: Initial vulnerability report published.

Cloud Foundry Foundation Security Team Profile Image

Cloud Foundry Foundation Security Team, AUTHOR

SEE ALL ARTICLES