OESA-2021-1296 (CVE-2021-35942)

Vulnerability from osv_openeuler – Published: 2021-07-31 11:04 – Updated: 2026-08-06 11:04 – Source website
VLAI
Summary
glibc security update
Details

The GNU C Library project provides the core libraries for the GNU system and GNU/Linux systems, as well as many other systems that use Linux as the kernel. These libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD, OS-specific APIs and more. These APIs include such foundational facilities as open, read, write, malloc, printf, getaddrinfo, dlopen, pthread_create, crypt, login, exit and more.

Security Fix(es):

An integer overflow flaw was found in glibc that may result in reading of arbitrary memory when wordexp is used with a specially crafted untrusted regular expression input.(CVE-2021-35942)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "glibc-nss-devel-2.28-73.oe1.aarch64.rpm",
          "nss_modules-2.28-73.oe1.aarch64.rpm",
          "glibc-debuginfo-2.28-73.oe1.aarch64.rpm",
          "glibc-devel-2.28-73.oe1.aarch64.rpm",
          "glibc-all-langpacks-2.28-73.oe1.aarch64.rpm",
          "glibc-debugsource-2.28-73.oe1.aarch64.rpm",
          "glibc-debugutils-2.28-73.oe1.aarch64.rpm",
          "libnsl-2.28-73.oe1.aarch64.rpm",
          "glibc-common-2.28-73.oe1.aarch64.rpm",
          "glibc-locale-source-2.28-73.oe1.aarch64.rpm",
          "nscd-2.28-73.oe1.aarch64.rpm",
          "glibc-2.28-73.oe1.aarch64.rpm",
          "glibc-benchtests-2.28-73.oe1.aarch64.rpm"
        ],
        "noarch": [
          "glibc-help-2.28-73.oe1.noarch.rpm"
        ],
        "src": [
          "glibc-2.28-73.oe1.src.rpm"
        ],
        "x86_64": [
          "nss_modules-2.28-73.oe1.x86_64.rpm",
          "glibc-all-langpacks-2.28-73.oe1.x86_64.rpm",
          "glibc-debugsource-2.28-73.oe1.x86_64.rpm",
          "glibc-2.28-73.oe1.x86_64.rpm",
          "glibc-common-2.28-73.oe1.x86_64.rpm",
          "glibc-devel-2.28-73.oe1.x86_64.rpm",
          "libnsl-2.28-73.oe1.x86_64.rpm",
          "glibc-debugutils-2.28-73.oe1.x86_64.rpm",
          "glibc-nss-devel-2.28-73.oe1.x86_64.rpm",
          "nscd-2.28-73.oe1.x86_64.rpm",
          "glibc-debuginfo-2.28-73.oe1.x86_64.rpm",
          "glibc-benchtests-2.28-73.oe1.x86_64.rpm",
          "glibc-locale-source-2.28-73.oe1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP1",
        "name": "glibc",
        "purl": "pkg:rpm/openEuler/glibc\u0026distro=openEuler-20.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.28-73.oe1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "glibc-debugsource-2.28-73.oe1.aarch64.rpm",
          "glibc-2.28-73.oe1.aarch64.rpm",
          "glibc-benchtests-2.28-73.oe1.aarch64.rpm",
          "glibc-nss-devel-2.28-73.oe1.aarch64.rpm",
          "nss_modules-2.28-73.oe1.aarch64.rpm",
          "glibc-devel-2.28-73.oe1.aarch64.rpm",
          "glibc-debugutils-2.28-73.oe1.aarch64.rpm",
          "glibc-all-langpacks-2.28-73.oe1.aarch64.rpm",
          "libnsl-2.28-73.oe1.aarch64.rpm",
          "nscd-2.28-73.oe1.aarch64.rpm",
          "glibc-locale-source-2.28-73.oe1.aarch64.rpm",
          "glibc-common-2.28-73.oe1.aarch64.rpm",
          "glibc-debuginfo-2.28-73.oe1.aarch64.rpm"
        ],
        "noarch": [
          "glibc-help-2.28-73.oe1.noarch.rpm"
        ],
        "src": [
          "glibc-2.28-73.oe1.src.rpm"
        ],
        "x86_64": [
          "glibc-debugutils-2.28-73.oe1.x86_64.rpm",
          "glibc-devel-2.28-73.oe1.x86_64.rpm",
          "glibc-2.28-73.oe1.x86_64.rpm",
          "glibc-locale-source-2.28-73.oe1.x86_64.rpm",
          "glibc-debugsource-2.28-73.oe1.x86_64.rpm",
          "glibc-debuginfo-2.28-73.oe1.x86_64.rpm",
          "glibc-all-langpacks-2.28-73.oe1.x86_64.rpm",
          "nscd-2.28-73.oe1.x86_64.rpm",
          "glibc-common-2.28-73.oe1.x86_64.rpm",
          "glibc-nss-devel-2.28-73.oe1.x86_64.rpm",
          "libnsl-2.28-73.oe1.x86_64.rpm",
          "glibc-benchtests-2.28-73.oe1.x86_64.rpm",
          "nss_modules-2.28-73.oe1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP2",
        "name": "glibc",
        "purl": "pkg:rpm/openEuler/glibc\u0026distro=openEuler-20.03-LTS-SP2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.28-73.oe1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Medium"
  },
  "details": "The GNU C Library project provides the core libraries for the GNU system and GNU/Linux systems, as well as many other systems that use Linux as the kernel. These libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD, OS-specific APIs and more. These APIs include such foundational facilities as open, read, write, malloc, printf, getaddrinfo, dlopen, pthread_create, crypt,  login, exit and more.\r\n\r\nSecurity Fix(es):\r\n\r\nAn integer overflow flaw was found in glibc that may result in reading of arbitrary memory when wordexp is used with a specially crafted untrusted regular expression input.(CVE-2021-35942)",
  "id": "OESA-2021-1296",
  "modified": "2026-08-06T11:04:32Z",
  "published": "2021-07-31T11:04:32Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1296"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-35942"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "glibc security update",
  "upstream": [
    "CVE-2021-35942"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.