{"id":"CVE-2021-20204","aliases":["DEBIAN-CVE-2021-20204","DLA-2660-1","EUVD-2021-7648","GHSA-mjc7-82x6-3544","UBUNTU-CVE-2021-20204","openSUSE-SU-2021:1645-1"],"status":"published","title":"A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when...","description":"A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databases. This degrades the confidentiality, integrity and availability of third-party software that uses libgetdata as a library. This vulnerability may lead to arbitrary code execution or privilege escalation depending on input/skills of attacker.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.02099,"percentile":0.81939,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-416"],"published":"2021-05-06T14:50:52Z","modified":"2026-10-23T18:02:41Z","fixes":[{"ecosystem":"Debian:12","package":"libgetdata","fixed_in":["0.10.0-10"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libgetdata","fixed_in":["0.10.0-10"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libgetdata","fixed_in":["0.10.0-10"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"libgetdata","fixed_in":["0.9.4-1+deb9u1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.2","package":"getdata","fixed_in":["0.11.0-lp152.4.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-10"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-10"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-10"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.4-1+deb9u1"}]}],"versions":["0.9.4-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.3-6.2ubuntu1","0.9.0-2","0.9.0-2.1","0.9.0-2.2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0-3build2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0-6","0.10.0-6build2","0.10.0-6build3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0-10","0.11.0-1","0.11.0-2","0.11.0-2build1","0.11.0-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.0-6","0.11.0-7","0.11.0-7ubuntu1","0.11.0-10","0.11.0-11","0.11.0-12","0.11.0-12build1","0.11.0-12build3","0.11.0-13"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.0-15"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.0-17build1","0.11.0-17build2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libgetdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.0-15","0.11.0-16","0.11.0-17","0.11.0-17build1"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"getdata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.0-lp152.4.3.1"}]}]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"getdata_project","product":"getdata"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1956348","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00015.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OE23HBLIVKVPOQ5MVADWPOCFMREVF4QZ/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43JTGEMYMCTHD3LHFD7ENBNSWCNBCYEY/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GB7T7DW7XRPJOUE25ZE7GF244FPCHBWY/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20204"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43JTGEMYMCTHD3LHFD7ENBNSWCNBCYEY"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GB7T7DW7XRPJOUE25ZE7GF244FPCHBWY"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OE23HBLIVKVPOQ5MVADWPOCFMREVF4QZ"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/43JTGEMYMCTHD3LHFD7ENBNSWCNBCYEY"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GB7T7DW7XRPJOUE25ZE7GF244FPCHBWY"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OE23HBLIVKVPOQ5MVADWPOCFMREVF4QZ"},{"url":"https://github.com/advisories/GHSA-mjc7-82x6-3544"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-20204","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-20204","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20204","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/DLVFS4U5WQY3UT4TIXF3TKNGVMQCDKHC/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1186251","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-20204","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-20204","description":"A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databases. This degrades the confidentiality, integrity and availability of third-party software that uses libgetdata as a library. This vulnerability may lead to arbitrary code execution or privilege escalation depending on input/skills of attacker.","status":"published","published":"2021-05-06T14:50:52Z","modified":"2024-10-17T18:02:57.013Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:32:55.564736Z"}],"euvd":[{"id":"EUVD-2021-7648","description":"A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databases. This degrades the confidentiality, integrity and availability of third-party software that uses libgetdata as a library. This vulnerability may lead to arbitrary code execution or privilege escalation depending on input/skills of attacker.","status":"published","published":"2021-05-06T14:50:52Z","modified":"2024-10-17T18:02:57Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:27:33.799805Z"}],"ghsa":[{"id":"GHSA-mjc7-82x6-3544","title":"A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when...","description":"A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databases. This degrades the confidentiality, integrity and availability of third-party software that uses libgetdata as a library. This vulnerability may lead to arbitrary code execution or privilege escalation depending on input/skills of attacker.","status":"published","published":"2022-05-24T19:01:30Z","modified":"2024-10-17T21:32:31Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-119","CWE-416"],"updated_at":"2026-11-02T14:58:32.565259Z"}],"nvd":[{"id":"CVE-2021-20204","description":"A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databases. This degrades the confidentiality, integrity and availability of third-party software that uses libgetdata as a library. This vulnerability may lead to arbitrary code execution or privilege escalation depending on input/skills of attacker.","status":"published","published":"2021-05-06T15:15:07.907Z","modified":"2026-06-17T03:33:28.017Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119","CWE-416"],"updated_at":"2026-11-02T14:06:52.81233Z"}],"osv":[{"id":"CVE-2021-20204","description":"A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databases. This degrades the confidentiality, integrity and availability of third-party software that uses libgetdata as a library. This vulnerability may lead to arbitrary code execution or privilege escalation depending on input/skills of attacker.","status":"published","published":"2021-05-06T15:15:07.907Z","modified":"2026-03-15T14:07:34.712036Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:17.663289Z"},{"id":"DEBIAN-CVE-2021-20204","description":"A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databases. This degrades the confidentiality, integrity and availability of third-party software that uses libgetdata as a library. This vulnerability may lead to arbitrary code execution or privilege escalation depending on input/skills of attacker.","status":"published","published":"2021-05-06T15:15:07.907Z","modified":"2026-10-23T18:02:41.497742354Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:34.311861Z"},{"id":"UBUNTU-CVE-2021-20204","description":"A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databases. This degrades the confidentiality, integrity and availability of third-party software that uses libgetdata as a library. This vulnerability may lead to arbitrary code execution or privilege escalation depending on input/skills of attacker.","status":"published","published":"2021-05-06T15:15:00Z","modified":"2026-10-17T12:56:19.935447219Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:25.728622Z"},{"id":"DLA-2660-1","title":"libgetdata - security update","status":"published","published":"2021-05-13T00:00:00Z","modified":"2026-03-09T01:19:19.556164Z","updated_at":"2026-11-02T15:46:10.712745Z"},{"id":"openSUSE-SU-2021:1645-1","title":"Security update for getdata","description":"\ngetdata was updated to 0.11.0, fixing bugs and a security issue:\n\n- CVE-2021-20204: Fixed a use after free in _GD_Supports() in encoding.c (boo#1186251) \n\nfor all relevant changes see: https://github.com/ketiltrout/getdata/releases/tag/v0.11.0","status":"published","published":"2021-12-30T17:01:58Z","modified":"2026-02-04T03:57:57.305799Z","updated_at":"2026-11-02T16:58:32.266854Z"}]}}
