Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-37600

An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use system resources in a way that leads to a large number in the /proc/sysvipc/sem file. NOTE: this is unexploitable in GNU C Library environments, and possibly in all realistic environments.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-37600
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:45 UTC · Revision 1

Source evidence

CVE-2021-37600

core-osv · Original source

Published 30 Jul 2021, 14:15 UTC

An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use system resources in a way that leads to a large number in the /proc/sysvipc/sem file. NOTE: this is unexploitable in GNU C Library environments, and possibly in all realistic environments.

osv:CVE-2021-37600
Complete source record
{
  "id": "5c6df83a80b27977ce0a3fd64f7583c3bac3a33b50450d27968cad18336c07bd",
  "url": "https://osv.dev/vulnerability/CVE-2021-37600",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-37600",
    "summary": "An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use system resources in a way that leads to a large number in the /proc/sysvipc/sem file. NOTE: this is unexploitable in GNU C Library environments, and possibly in all realistic environments.",
    "evidence": "osv:CVE-2021-37600",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-37600",
      "aliases": [
        "CVE-2021-37600"
      ],
      "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": [
            {
              "repo": "https://github.com/util-linux/util-linux",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "bb954f765845b0346679a25383da9a5d9a063e84"
                },
                {
                  "fixed": "1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:kernel:util-linux:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.37.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.37.1",
            "v2.37",
            "v2.37-rc2",
            "v2.37-rc1",
            "v2.36",
            "v2.36-rc2",
            "v2.36-rc1",
            "v2.35",
            "v2.35-rc2",
            "v2.35-rc1",
            "v2.34",
            "v2.34-rc2",
            "v2.34-rc1",
            "v2.33",
            "v2.33-rc2",
            "v2.33-rc1",
            "v2.32",
            "v2.32-rc2",
            "v2.32-rc1",
            "v2.31",
            "v2.31-rc2",
            "v2.31-rc1",
            "v2.30",
            "v2.30-rc2",
            "v2.30-rc1",
            "v2.29",
            "v2.29-rc2",
            "v2.29-rc1",
            "v2.28",
            "v2.28-rc2",
            "v2.28-rc1",
            "v2.27",
            "v2.27-rc2",
            "v2.27-rc1",
            "v2.26",
            "v2.26-rc2",
            "v2.26-rc1",
            "v2.25",
            "v2.25-rc2",
            "v2.25-rc1",
            "v2.24",
            "v2.24-rc2",
            "v2.24-rc1",
            "v2.23",
            "v2.23-rc2",
            "v2.23-rc1",
            "v2.22",
            "v2.22-rc2",
            "v2.22-rc1",
            "v2.21",
            "v2.21-rc2",
            "v2.21-rc1",
            "v2.20",
            "v2.20-rc2",
            "v2.20-rc1",
            "v2.19",
            "v2.19-rc3",
            "v2.19-rc2",
            "v2.19-rc1",
            "v2.18",
            "v2.18-rc2",
            "v2.18-rc1",
            "v2.17",
            "v2.17-rc3",
            "v2.17-rc2",
            "v2.17-rc1",
            "v2.16",
            "v2.16-rc2",
            "v2.16-rc1",
            "v2.15",
            "v2.15-rc2",
            "v2.15-rc1",
            "v2.14",
            "v2.14-rc3",
            "v2.14-rc2",
            "v2.14-rc1",
            "v2.13",
            "v2.13-rc3",
            "v2.13-rc2",
            "v2.13-rc1",
            "v2.13-pre7",
            "v2.13-pre6",
            "v2.13-pre5",
            "v2.13-pre4",
            "v2.13-pre3",
            "v2.13-pre2",
            "v2.13-pre1",
            "v2.12r",
            "v2.12r-pre1",
            "v2.12q",
            "v2.12q-pre2",
            "v2.12q-pre1",
            "v2.12p",
            "v2.12o",
            "v2.12m",
            "v2.12l",
            "v2.12k",
            "v2.12j",
            "v2.12i",
            "v2.12h",
            "v2.12d",
            "v2.12b",
            "v2.12a",
            "v2.12pre",
            "v2.12",
            "v2.11y",
            "v2.11x",
            "v2.11w",
            "v2.11v",
            "v2.11u",
            "v2.11t",
            "v2.11r",
            "v2.11q",
            "v2.11o",
            "v2.11n",
            "v2.11m",
            "v2.11f",
            "v2.11b",
            "v2.10s",
            "v2.10m",
            "v2.10f",
            "v2.9v",
            "v2.9i",
            "v2.8",
            "v2.7.1",
            "v2.5",
            "v2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-37600.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-37600-adca5c5d",
                "digest": {
                  "length": 1028,
                  "function_hash": "318753504687712674914122082290213738543"
                },
                "source": "https://github.com/util-linux/util-linux/commit/1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c",
                "target": {
                  "file": "sys-utils/ipcutils.c",
                  "function": "get_sem_elements"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-37600-b3338a03",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "104820330773146188262023192517332611586",
                    "192859362915955476144306075005974388787",
                    "66667762537337788262415547746914441366",
                    "59143513466043020015328224767695389209"
                  ]
                },
                "source": "https://github.com/util-linux/util-linux/commit/1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c",
                "target": {
                  "file": "sys-utils/ipcutils.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:28:07Z"
          }
        }
      ],
      "modified": "2026-10-20T14:28:07.160486706Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "https://lists.debian.org/debian-lts-announce/2024/04/msg00005.html",
        "https://security.gentoo.org/glsa/202401-08",
        "https://security.netapp.com/advisory/ntap-20210902-0002/",
        "https://github.com/karelzak/util-linux/issues/1395",
        "https://github.com/karelzak/util-linux/commit/1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-37600",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 389007,
  "published_at": "2021-07-30T14:15:18.737+00:00"
}