ubuntu-cve-2024-25711
Vulnerability from osv_ubuntu
Published
2024-02-27 02:15
Modified
2025-10-24 05:06
Summary
Details

diffoscope before 256 allows directory traversal via an embedded filename in a GPG file. Contents of any file, such as ../.ssh/id_rsa, may be disclosed to an attacker. This occurs because the value of the gpg --use-embedded-filenames option is trusted.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "debbindiff",
            "binary_version": "51"
          },
          {
            "binary_name": "diffoscope",
            "binary_version": "51"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "diffoscope",
        "purl": "pkg:deb/ubuntu/diffoscope@51?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "33",
        "38",
        "41",
        "42",
        "48",
        "49",
        "51"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "diffoscope",
            "binary_version": "93ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "diffoscope",
        "purl": "pkg:deb/ubuntu/diffoscope@93ubuntu1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "87",
        "88",
        "90build1",
        "91build1",
        "91ubuntu1",
        "92ubuntu1",
        "93ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "diffoscope",
            "binary_version": "137"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "diffoscope",
        "purl": "pkg:deb/ubuntu/diffoscope@137?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "125",
        "131",
        "132",
        "133",
        "134",
        "135",
        "136",
        "137"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "diffoscope",
            "binary_version": "205"
          },
          {
            "binary_name": "diffoscope-minimal",
            "binary_version": "205"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "diffoscope",
        "purl": "pkg:deb/ubuntu/diffoscope@205?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "180",
        "194build",
        "195",
        "200",
        "201",
        "202",
        "203",
        "204",
        "205"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "diffoscope",
            "binary_version": "259"
          },
          {
            "binary_name": "diffoscope-minimal",
            "binary_version": "259"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "diffoscope",
        "purl": "pkg:deb/ubuntu/diffoscope@259?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "249",
        "251",
        "253",
        "254",
        "255",
        "257",
        "258",
        "259"
      ]
    }
  ],
  "aliases": [],
  "details": "diffoscope before 256 allows directory traversal via an embedded filename in a GPG file. Contents of any file, such as ../.ssh/id_rsa, may be disclosed to an attacker. This occurs because the value of the gpg --use-embedded-filenames option is trusted.",
  "id": "UBUNTU-CVE-2024-25711",
  "modified": "2025-10-24T05:06:57Z",
  "published": "2024-02-27T02:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-25711"
    },
    {
      "type": "REPORT",
      "url": "https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361"
    },
    {
      "type": "REPORT",
      "url": "https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/458f7f04bc053a0066aa7d2fd3251747d4899476"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-25711"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-25711"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…