ubuntu-cve-2017-2808
Vulnerability from osv_ubuntu
Published
2017-09-05 18:29
Modified
2025-10-24 04:46
Summary
Details

An exploitable use-after-free vulnerability exists in the account parsing component of the Ledger-CLI 3.1.1. A specially crafted ledger file can cause a use-after-free vulnerability resulting in arbitrary code execution. An attacker can convince a user to load a journal file to trigger this vulnerability.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "ledger",
            "binary_version": "3.1.1+dfsg1-1"
          },
          {
            "binary_name": "ledger-el",
            "binary_version": "3.1.1+dfsg1-1"
          },
          {
            "binary_name": "python-ledger",
            "binary_version": "3.1.1+dfsg1-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "ledger",
        "purl": "pkg:deb/ubuntu/ledger@3.1.1+dfsg1-1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1+dfsg1-5",
        "3.1+dfsg1-6",
        "3.1+dfsg1-7",
        "3.1.1+dfsg1-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "elpa-ledger",
            "binary_version": "3.1.2~pre1+g3a00e1c+dfsg1-5build5"
          },
          {
            "binary_name": "ledger",
            "binary_version": "3.1.2~pre1+g3a00e1c+dfsg1-5build5"
          },
          {
            "binary_name": "ledger-el",
            "binary_version": "3.1.2~pre1+g3a00e1c+dfsg1-5build5"
          },
          {
            "binary_name": "python-ledger",
            "binary_version": "3.1.2~pre1+g3a00e1c+dfsg1-5build5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "ledger",
        "purl": "pkg:deb/ubuntu/ledger@3.1.2~pre1+g3a00e1c+dfsg1-5build5?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.2~pre1+g3a00e1c+dfsg1-5",
        "3.1.2~pre1+g3a00e1c+dfsg1-5build1",
        "3.1.2~pre1+g3a00e1c+dfsg1-5build2",
        "3.1.2~pre1+g3a00e1c+dfsg1-5build3",
        "3.1.2~pre1+g3a00e1c+dfsg1-5build4",
        "3.1.2~pre1+g3a00e1c+dfsg1-5build5"
      ]
    }
  ],
  "aliases": [],
  "details": "An exploitable use-after-free vulnerability exists in the account parsing component of the Ledger-CLI 3.1.1. A specially crafted ledger file can cause a use-after-free vulnerability resulting in arbitrary code execution. An attacker can convince a user to load a journal file to trigger this vulnerability.",
  "id": "UBUNTU-CVE-2017-2808",
  "modified": "2025-10-24T04:46:06Z",
  "published": "2017-09-05T18:29:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2017-2808"
    },
    {
      "type": "REPORT",
      "url": "https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0304"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ledger/ledger/commit/f3bad93db256db07b6cb831d4d24f47543f57e4a"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2017-2808"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2017-2808"
  ]
}



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…