{
  "schema_version": "1.7.0",
  "id": "MGASA-2022-0488",
  "published": "2022-12-30T22:39:00Z",
  "modified": "2022-12-30T21:36:32Z",
  "summary": "Updated libtar packages fix security vulnerability",
  "details": "After tar_close(), libtar.c releases the memory pointed to by pointer t.\nAfter tar_close() is called in the list() function, it continues to use\npointer t: free_longlink_longname(t->th_buf) . As a result, the released\nmemory is used (use-after-free). (CVE-2021-33640)\n",
  "upstream": [
    "CVE-2021-33640"
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://advisories.mageia.org/MGASA-2022-0488.html"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.mageia.org/show_bug.cgi?id=31337"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/4S4PJRCJLEAWN2EKXGLSOBTL7O57V7NC/"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Mageia:8",
        "name": "libtar",
        "purl": "pkg:rpm/mageia/libtar?arch=source&distro=mageia-8"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.20-9.2.mga8"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "section": "core"
      }
    }
  ],
  "credits": [
    {
      "name": "Mageia",
      "type": "COORDINATOR",
      "contact": [
        "https://wiki.mageia.org/en/Packages_Security_Team"
      ]
    }
  ]
}
