{"schemaVersion":3,"id":"CVE-2021-38604","aliases":["MGASA-2021-0404","UBUNTU-CVE-2021-38604"],"status":"published","duplicateOf":null,"title":null,"description":"In librt in the GNU C Library (aka glibc) through 2.34, sysdeps/unix/sysv/linux/mq_notify.c mishandles certain NOTIFY_REMOVED data, leading to a NULL pointer dereference. NOTE: this vulnerability was introduced as a side effect of the CVE-2021-33574 fix.","dates":{"published":"2021-08-12T15:43:34.000Z","modified":"2026-10-14T11:53:47.784Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03721,"percentile":0.89667,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.6759999999999998,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03045},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03721,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03721,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03721,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03721,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03721,"percentile":0.89667}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03045,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03721,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03721,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03721,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03721,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03721,"percentile":0.89667}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_6FF04963A3AF9297","name":"Exploit Reference (blog.tuxcare.com)","source":"reference","url":"https://blog.tuxcare.com/cve/tuxcare-team-identifies-cve-2021-38604-a-new-vulnerability-in-glibc","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-476","name":"NULL Pointer Dereference","description":"The product dereferences a pointer that it expects to be valid but is NULL.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/476.html"}],"affected":[{"vendor":"ubuntu","product":"glibc","name":"glibc","label":"glibc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/glibc","purlType":"deb","versions":[{"text":"< 2.34-0ubuntu3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.34-0ubuntu3","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"35","eol":{"isEol":true,"eolDate":"2022-12-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"35","label":"35","eolFrom":"2022-12-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"gnu","product":"glibc","name":"glibc","label":"glibc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.34","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.34","eol":null,"hubHref":"/vendor/gnu/glibc"},{"vendor":"mageia","product":"glibc","name":"glibc","label":"glibc","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/glibc","purlType":"rpm","versions":[{"text":"< 2.32-18.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.32-18.mga8","eol":null,"hubHref":null},{"vendor":"oracle","product":"communications_cloud_native_core_binding_support_function","name":"communications cloud native core binding support function","label":"communications_cloud_native_core_binding_support_function","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"22.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"22.1.3","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_binding_support_function"},{"vendor":"oracle","product":"communications_cloud_native_core_network_function_cloud_native_environment","name":"communications cloud native core network function cloud native environment","label":"communications_cloud_native_core_network_function_cloud_native_environment","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"22.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"22.1.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_network_function_cloud_native_environment"},{"vendor":"oracle","product":"communications_cloud_native_core_network_repository_function","name":"communications cloud native core network repository function","label":"communications_cloud_native_core_network_repository_function","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"22.1.2","noFixRecorded":false,"fixedIn":null},{"text":"22.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"22.1.2 | 22.2.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_network_repository_function"},{"vendor":"oracle","product":"communications_cloud_native_core_security_edge_protection_proxy","name":"communications cloud native core security edge protection proxy","label":"communications_cloud_native_core_security_edge_protection_proxy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"22.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"22.1.1","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_security_edge_protection_proxy"},{"vendor":"oracle","product":"communications_cloud_native_core_unified_data_repository","name":"communications cloud native core unified data repository","label":"communications_cloud_native_core_unified_data_repository","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"22.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"22.2.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_unified_data_repository"},{"vendor":"oracle","product":"enterprise_operations_monitor","name":"enterprise operations monitor","label":"enterprise_operations_monitor","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.3","noFixRecorded":false,"fixedIn":null},{"text":"4.4","noFixRecorded":false,"fixedIn":null},{"text":"5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.3 | 4.4 | 5.0","eol":null,"hubHref":"/vendor/oracle/enterprise_operations_monitor"}],"affectedCount":10,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=b805aebd42364fe696e417808a700fdb9800c9e8","label":"sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=b805aebd42364fe696e417808a700fdb9800c9e8","hostname":"sourceware.org","tags":["X Refsource MISC"]},{"url":"https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=4cc79c217744743077bf7a0ec5e0a4318f1e6641","label":"sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=4cc79c217744743077bf7a0ec5e0a4318f1e6641","hostname":"sourceware.org","tags":["X Refsource MISC"]},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28213","label":"sourceware.org/bugzilla/show_bug.cgi?id=28213","hostname":"sourceware.org","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GYEXYM37RCJWJ6B5KQUYQI4NZBDDYSXP/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","label":"www.oracle.com/security-alerts/cpujul2022.html","hostname":"www.oracle.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://blog.tuxcare.com/cve/tuxcare-team-identifies-cve-2021-38604-a-new-vulnerability-in-glibc","label":"blog.tuxcare.com/cve/tuxcare-team-identifies-cve-2021-38604-a-new-vulnerability-in-glibc","hostname":"blog.tuxcare.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210909-0005/","label":"security.netapp.com/advisory/ntap-20210909-0005/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202208-24","label":"security.gentoo.org/glsa/202208-24","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0404.html","label":"advisories.mageia.org/MGASA-2021-0404.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29357","label":"bugs.mageia.org/show_bug.cgi?id=29357","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-38604","label":"ubuntu.com/security/CVE-2021-38604","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-38604","label":"www.cve.org/CVERecord?id=CVE-2021-38604","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38604","label":"nvd.nist.gov/vuln/detail/CVE-2021-38604","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-831302.html","label":"cert-portal.siemens.com/productcert/html/ssa-831302.html","hostname":"cert-portal.siemens.com","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"cert-portal.siemens.com/productcert/html/ssa-398330.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-08-12T15:43:34.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-14T11:53:47.784Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:53:13.547Z","stale":false,"partial":false}}