ubuntu-cve-2022-37434
Vulnerability from osv_ubuntu
Published
2022-08-05 07:15
Modified
2026-04-22 07:41
Summary
Details

zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field. NOTE: only applications that call inflateGetHeader are affected. Some common applications bundle the affected zlib source code but may be unable to call inflateGetHeader (e.g., see the nodejs/node reference).


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "klibc-utils",
            "binary_version": "2.0.3-0ubuntu1.14.04.3+esm3"
          },
          {
            "binary_name": "libklibc",
            "binary_version": "2.0.3-0ubuntu1.14.04.3+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "klibc",
        "purl": "pkg:deb/ubuntu/klibc@2.0.3-0ubuntu1.14.04.3+esm3?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.3-0ubuntu1.14.04.3+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.1-3.1ubuntu2",
        "2.0.2-1ubuntu1",
        "2.0.2-1ubuntu2",
        "2.0.3-0ubuntu1",
        "2.0.3-0ubuntu1.14.04.1",
        "2.0.3-0ubuntu1.14.04.2",
        "2.0.3-0ubuntu1.14.04.3",
        "2.0.3-0ubuntu1.14.04.3+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "lib32z1",
            "binary_version": "1:1.2.8.dfsg-1ubuntu1.1+esm2"
          },
          {
            "binary_name": "lib64z1",
            "binary_version": "1:1.2.8.dfsg-1ubuntu1.1+esm2"
          },
          {
            "binary_name": "libx32z1",
            "binary_version": "1:1.2.8.dfsg-1ubuntu1.1+esm2"
          },
          {
            "binary_name": "zlib-bin",
            "binary_version": "1:1.2.8.dfsg-1ubuntu1.1+esm2"
          },
          {
            "binary_name": "zlib1g",
            "binary_version": "1:1.2.8.dfsg-1ubuntu1.1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "zlib",
        "purl": "pkg:deb/ubuntu/zlib@1:1.2.8.dfsg-1ubuntu1.1+esm2?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:1.2.8.dfsg-1ubuntu1.1+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.2.8.dfsg-1ubuntu1",
        "1:1.2.8.dfsg-1ubuntu1.1",
        "1:1.2.8.dfsg-1ubuntu1.1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "klibc-utils",
            "binary_version": "2.0.4-8ubuntu1.16.04.4+esm2"
          },
          {
            "binary_name": "libklibc",
            "binary_version": "2.0.4-8ubuntu1.16.04.4+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "klibc",
        "purl": "pkg:deb/ubuntu/klibc@2.0.4-8ubuntu1.16.04.4+esm2?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.4-8ubuntu1.16.04.4+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.3-0ubuntu1",
        "2.0.4-4",
        "2.0.4-6",
        "2.0.4-7",
        "2.0.4-8",
        "2.0.4-8ubuntu1",
        "2.0.4-8ubuntu1.16.04.1",
        "2.0.4-8ubuntu1.16.04.2",
        "2.0.4-8ubuntu1.16.04.3",
        "2.0.4-8ubuntu1.16.04.4",
        "2.0.4-8ubuntu1.16.04.4+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "rsync",
            "binary_version": "3.1.1-3ubuntu1.3+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "rsync",
        "purl": "pkg:deb/ubuntu/rsync@3.1.1-3ubuntu1.3+esm2?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.1.1-3ubuntu1.3+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.1-3",
        "3.1.1-3ubuntu1",
        "3.1.1-3ubuntu1.1",
        "3.1.1-3ubuntu1.2",
        "3.1.1-3ubuntu1.3",
        "3.1.1-3ubuntu1.3+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "lib32z1",
            "binary_version": "1:1.2.8.dfsg-2ubuntu4.3+esm2"
          },
          {
            "binary_name": "lib64z1",
            "binary_version": "1:1.2.8.dfsg-2ubuntu4.3+esm2"
          },
          {
            "binary_name": "libx32z1",
            "binary_version": "1:1.2.8.dfsg-2ubuntu4.3+esm2"
          },
          {
            "binary_name": "zlib1g",
            "binary_version": "1:1.2.8.dfsg-2ubuntu4.3+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "zlib",
        "purl": "pkg:deb/ubuntu/zlib@1:1.2.8.dfsg-2ubuntu4.3+esm2?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:1.2.8.dfsg-2ubuntu4.3+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.2.8.dfsg-2ubuntu4",
        "1:1.2.8.dfsg-2ubuntu4.1",
        "1:1.2.8.dfsg-2ubuntu4.3",
        "1:1.2.8.dfsg-2ubuntu4.3+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "rsync",
            "binary_version": "3.1.2-2.1ubuntu1.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "rsync",
        "purl": "pkg:deb/ubuntu/rsync@3.1.2-2.1ubuntu1.5?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.1.2-2.1ubuntu1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.2-2",
        "3.1.2-2.1",
        "3.1.2-2.1ubuntu1",
        "3.1.2-2.1ubuntu1.1",
        "3.1.2-2.1ubuntu1.2",
        "3.1.2-2.1ubuntu1.3",
        "3.1.2-2.1ubuntu1.4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "lib32z1",
            "binary_version": "1:1.2.11.dfsg-0ubuntu2.2"
          },
          {
            "binary_name": "lib64z1",
            "binary_version": "1:1.2.11.dfsg-0ubuntu2.2"
          },
          {
            "binary_name": "libx32z1",
            "binary_version": "1:1.2.11.dfsg-0ubuntu2.2"
          },
          {
            "binary_name": "zlib1g",
            "binary_version": "1:1.2.11.dfsg-0ubuntu2.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "zlib",
        "purl": "pkg:deb/ubuntu/zlib@1:1.2.11.dfsg-0ubuntu2.2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:1.2.11.dfsg-0ubuntu2.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.2.11.dfsg-0ubuntu2",
        "1:1.2.11.dfsg-0ubuntu2.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "klibc-utils",
            "binary_version": "2.0.4-9ubuntu2.2+esm1"
          },
          {
            "binary_name": "libklibc",
            "binary_version": "2.0.4-9ubuntu2.2+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "klibc",
        "purl": "pkg:deb/ubuntu/klibc@2.0.4-9ubuntu2.2+esm1?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.4-9ubuntu2.2+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.4-9ubuntu1",
        "2.0.4-9ubuntu2",
        "2.0.4-9ubuntu2.1",
        "2.0.4-9ubuntu2.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "klibc-utils",
            "binary_version": "2.0.7-1ubuntu5.2"
          },
          {
            "binary_name": "libklibc",
            "binary_version": "2.0.7-1ubuntu5.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "klibc",
        "purl": "pkg:deb/ubuntu/klibc@2.0.7-1ubuntu5.2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.7-1ubuntu5.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.6-1ubuntu1",
        "2.0.6-1ubuntu2",
        "2.0.7-1ubuntu1",
        "2.0.7-1ubuntu3",
        "2.0.7-1ubuntu4",
        "2.0.7-1ubuntu5",
        "2.0.7-1ubuntu5.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "rsync",
            "binary_version": "3.1.3-8ubuntu0.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "rsync",
        "purl": "pkg:deb/ubuntu/rsync@3.1.3-8ubuntu0.4?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.1.3-8ubuntu0.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.3-6",
        "3.1.3-8",
        "3.1.3-8ubuntu0.1",
        "3.1.3-8ubuntu0.2",
        "3.1.3-8ubuntu0.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "lib32z1",
            "binary_version": "1:1.2.11.dfsg-2ubuntu1.5"
          },
          {
            "binary_name": "lib64z1",
            "binary_version": "1:1.2.11.dfsg-2ubuntu1.5"
          },
          {
            "binary_name": "libx32z1",
            "binary_version": "1:1.2.11.dfsg-2ubuntu1.5"
          },
          {
            "binary_name": "zlib1g",
            "binary_version": "1:1.2.11.dfsg-2ubuntu1.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "zlib",
        "purl": "pkg:deb/ubuntu/zlib@1:1.2.11.dfsg-2ubuntu1.5?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:1.2.11.dfsg-2ubuntu1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.2.11.dfsg-1ubuntu3",
        "1:1.2.11.dfsg-2ubuntu1",
        "1:1.2.11.dfsg-2ubuntu1.1",
        "1:1.2.11.dfsg-2ubuntu1.2",
        "1:1.2.11.dfsg-2ubuntu1.3",
        "1:1.2.11.dfsg-2ubuntu1.4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "klibc-utils",
            "binary_version": "2.0.10-4ubuntu0.1"
          },
          {
            "binary_name": "libklibc",
            "binary_version": "2.0.10-4ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "klibc",
        "purl": "pkg:deb/ubuntu/klibc@2.0.10-4ubuntu0.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.10-4ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.8-6.1ubuntu2",
        "2.0.10-3",
        "2.0.10-4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "lib32z1",
            "binary_version": "1:1.2.11.dfsg-2ubuntu9.2"
          },
          {
            "binary_name": "lib64z1",
            "binary_version": "1:1.2.11.dfsg-2ubuntu9.2"
          },
          {
            "binary_name": "libx32z1",
            "binary_version": "1:1.2.11.dfsg-2ubuntu9.2"
          },
          {
            "binary_name": "zlib1g",
            "binary_version": "1:1.2.11.dfsg-2ubuntu9.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "zlib",
        "purl": "pkg:deb/ubuntu/zlib@1:1.2.11.dfsg-2ubuntu9.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:1.2.11.dfsg-2ubuntu9.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.2.11.dfsg-2ubuntu7",
        "1:1.2.11.dfsg-2ubuntu9",
        "1:1.2.11.dfsg-2ubuntu9.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "klibc-utils",
            "binary_version": "2.0.13-4ubuntu0.1"
          },
          {
            "binary_name": "libklibc",
            "binary_version": "2.0.13-4ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "klibc",
        "purl": "pkg:deb/ubuntu/klibc@2.0.13-4ubuntu0.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.13-4ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.13-1",
        "2.0.13-2",
        "2.0.13-2ubuntu1",
        "2.0.13-4"
      ]
    }
  ],
  "aliases": [],
  "details": "zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field. NOTE: only applications that call inflateGetHeader are affected. Some common applications bundle the affected zlib source code but may be unable to call inflateGetHeader (e.g., see the nodejs/node reference).",
  "id": "UBUNTU-CVE-2022-37434",
  "modified": "2026-04-22T07:41:39Z",
  "published": "2022-08-05T07:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-37434"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ivd38/zlib_overflow"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5570-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5573-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5570-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2022-37434"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6736-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6736-2"
    }
  ],
  "related": [
    "USN-5570-1",
    "USN-5573-1",
    "USN-5570-2",
    "USN-6736-1",
    "USN-6736-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2022-37434"
  ]
}



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…