{
  "schema_version": "1.7.0",
  "id": "MGASA-2021-0305",
  "published": "2021-06-30T23:58:41Z",
  "modified": "2021-06-30T22:39:23Z",
  "summary": "Updated p7zip package fixes security vulnerabilities",
  "details": "In p7zip-17.03, the function NCompress::CCopyCoder::Code in\nCPP/7zip/Common/StreamObjects.cpp will call outStream->Write where a memcpy\nuses a NULL pointer as destination address, leading to a crash (CVE-2021-3465).\n\nNull pointer dereference in function Reserve() found in p7zip 16.02\n(rhbz#1951218).\n\nNull Pointer Dereference  in function NArchive::NLzh::CItem::GetUnixTime found\nin p7zip 16.02 (rhbz#1951224).\n\nThe p7zip package has been patched to fix these issues.\n\nAlso, the Mageia 7 package has been updated to version 17.03.\n",
  "upstream": [
    "CVE-2021-3465"
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://advisories.mageia.org/MGASA-2021-0305.html"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.mageia.org/show_bug.cgi?id=28903"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jinfeihan57/p7zip/releases"
    },
    {
      "type": "WEB",
      "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/OQBZYFULI5NBGLWDHKHSVMRMYNY2XC5Q/"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/OJQ6YRT2OALFI2LGZSLJD5T74MV6PJ7V/"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Mageia:7",
        "name": "p7zip",
        "purl": "pkg:rpm/mageia/p7zip?arch=source&distro=mageia-7"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "17.03-1.1.mga7"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "section": "core"
      }
    },
    {
      "package": {
        "ecosystem": "Mageia:8",
        "name": "p7zip",
        "purl": "pkg:rpm/mageia/p7zip?arch=source&distro=mageia-8"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "17.03-1.1.mga8"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "section": "core"
      }
    }
  ],
  "credits": [
    {
      "name": "Mageia",
      "type": "COORDINATOR",
      "contact": [
        "https://wiki.mageia.org/en/Packages_Security_Team"
      ]
    }
  ]
}
