Skip to content
Heist/ feed
Back to feed
MediumFix available

unzip — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2022-0530

A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.

Products
unzip
Affected versions
Not specified
Fixed versions
6.0-r11
CVEs
CVE-2022-0530
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:08 UTC · Revision 1

Source evidence

ALPINE-CVE-2022-0530

core-osv · Original source

Published 9 Feb 2022, 23:15 UTC

A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.

osv:ALPINE-CVE-2022-0530

unzip

Fixed versions: 6.0-r11

unzip

Fixed versions: 6.0-r11

unzip

Fixed versions: 6.0-r11

unzip

Fixed versions: 6.0-r11

unzip

Fixed versions: 6.0-r11

unzip

Fixed versions: 6.0-r11

unzip

Fixed versions: 6.0-r11

unzip

Fixed versions: 6.0-r11

Complete source record
{
  "id": "c7a0b661a5d07ee430f8d4d9b9c196c75444dcea8894316adc40c3018ff6f9ca",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2022-0530",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2022-0530",
    "summary": "A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.",
    "evidence": "osv:ALPINE-CVE-2022-0530",
    "products": [
      {
        "name": {
          "value": "unzip",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.0-r11",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "unzip",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.0-r11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "unzip",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.0-r11",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "unzip",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.0-r11",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "unzip",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.0-r11",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "unzip",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.0-r11",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "unzip",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.0-r11",
            "evidence": "/affected/6/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "unzip",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.0-r11",
            "evidence": "/affected/7/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "ALPINE-CVE-2022-0530",
      "aliases": [
        "ALPINE-CVE-2022-0530"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.0-r11"
                }
              ]
            }
          ],
          "package": {
            "name": "unzip",
            "purl": "pkg:apk/alpine/unzip?arch=source",
            "ecosystem": "Alpine:v3.17"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-0530.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.0-r11"
                }
              ]
            }
          ],
          "package": {
            "name": "unzip",
            "purl": "pkg:apk/alpine/unzip?arch=source",
            "ecosystem": "Alpine:v3.18"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-0530.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.0-r11"
                }
              ]
            }
          ],
          "package": {
            "name": "unzip",
            "purl": "pkg:apk/alpine/unzip?arch=source",
            "ecosystem": "Alpine:v3.19"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-0530.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.0-r11"
                }
              ]
            }
          ],
          "package": {
            "name": "unzip",
            "purl": "pkg:apk/alpine/unzip?arch=source",
            "ecosystem": "Alpine:v3.20"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-0530.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.0-r11"
                }
              ]
            }
          ],
          "package": {
            "name": "unzip",
            "purl": "pkg:apk/alpine/unzip?arch=source",
            "ecosystem": "Alpine:v3.21"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-0530.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.0-r11"
                }
              ]
            }
          ],
          "package": {
            "name": "unzip",
            "purl": "pkg:apk/alpine/unzip?arch=source",
            "ecosystem": "Alpine:v3.22"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-0530.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.0-r11"
                }
              ]
            }
          ],
          "package": {
            "name": "unzip",
            "purl": "pkg:apk/alpine/unzip?arch=source",
            "ecosystem": "Alpine:v3.23"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-0530.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.0-r11"
                }
              ]
            }
          ],
          "package": {
            "name": "unzip",
            "purl": "pkg:apk/alpine/unzip?arch=source",
            "ecosystem": "Alpine:v3.24"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-0530.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-15T07:17:54.142940995Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-0530"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2022-0530"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-0530",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 321606,
  "published_at": "2022-02-09T23:15:16.677+00:00"
}