Skip to content
Heist/ feed
Back to feed
Medium

zip4j — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2023-22899

Zip4j through 2.11.2, as used in Threema and other products, does not always check the MAC when decrypting a ZIP archive.

Products
zip4j
Affected versions
2.1.2-2, 2.11.5-1, 2.11.5-1build1, 2.11.6-1, 2.2.2-1, 2.2.6-1, 2.2.8-1, 2.6.4-1, 2.9.0-1, 2.9.1-1
Fixed versions
Not specified
CVEs
CVE-2023-22899
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:48 UTC · Revision 1

Source evidence

UBUNTU-CVE-2023-22899

core-osv · Original source

Published 10 Jan 2023, 02:15 UTC

Zip4j through 2.11.2, as used in Threema and other products, does not always check the MAC when decrypting a ZIP archive.

osv:UBUNTU-CVE-2023-22899

zip4j

Fixed versions: Not specified

zip4j

Fixed versions: Not specified

zip4j

Fixed versions: Not specified

zip4j

Fixed versions: Not specified

zip4j

Fixed versions: Not specified

zip4j

Fixed versions: Not specified

Complete source record
{
  "id": "e28820fc1438083d8542e8ea4648869ff8ed4d36e3fc2d2d1a0b85f9e801f718",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-22899",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2023-22899",
    "summary": "Zip4j through 2.11.2, as used in Threema and other products, does not always check the MAC when decrypting a ZIP archive.",
    "evidence": "osv:UBUNTU-CVE-2023-22899",
    "products": [
      {
        "name": {
          "value": "zip4j",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.2.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.2.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.2.8-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zip4j",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.6.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.9.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.9.1-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zip4j",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.11.5-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zip4j",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.11.5-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zip4j",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.11.6-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zip4j",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.11.5-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.11.5-1build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.11.6-1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2023-22899",
      "aliases": [
        "UBUNTU-CVE-2023-22899"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zip4j",
            "purl": "pkg:deb/ubuntu/zip4j?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2.1.2-2",
            "2.2.2-1",
            "2.2.6-1",
            "2.2.8-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzip4j-java",
                "binary_version": "2.2.8-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zip4j",
            "purl": "pkg:deb/ubuntu/zip4j?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.6.4-1",
            "2.9.0-1",
            "2.9.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzip4j-java",
                "binary_version": "2.9.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zip4j",
            "purl": "pkg:deb/ubuntu/zip4j?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "2.11.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzip4j-java",
                "binary_version": "2.11.5-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zip4j",
            "purl": "pkg:deb/ubuntu/zip4j?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2.11.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzip4j-java",
                "binary_version": "2.11.5-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zip4j",
            "purl": "pkg:deb/ubuntu/zip4j?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.11.6-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzip4j-java",
                "binary_version": "2.11.6-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zip4j",
            "purl": "pkg:deb/ubuntu/zip4j?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.11.5-1",
            "2.11.5-1build1",
            "2.11.6-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzip4j-java",
                "binary_version": "2.11.6-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:04.165157972Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-22899"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2023-22899",
        "https://breakingthe3ma.app/files/Threema-PST22.pdf",
        "https://news.ycombinator.com/item?id=34316206",
        "https://github.com/srikanth-lingala/zip4j/releases",
        "https://breakingthe3ma.app",
        "https://threema.ch/en/blog/posts/news-alleged-weaknesses-statement",
        "https://www.cve.org/CVERecord?id=CVE-2023-22899"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-22899",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354749,
  "published_at": "2023-01-10T02:15:00+00:00"
}