{"id":"CVE-2021-44540","aliases":["ALPINE-CVE-2021-44540","DEBIAN-CVE-2021-44540","DLA-2844-1","EUVD-2021-31371","GHSA-c56j-2h63-6488","MGASA-2021-0570","UBUNTU-CVE-2021-44540","USN-5826-1","openSUSE-SU-2021:1646-1","openSUSE-SU-2022:10186-1","openSUSE-SU-2024:11677-1"],"status":"published","title":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of...","description":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of compiled pattern spec before bailing.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01383,"percentile":0.72361,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-401"],"published":"2021-12-13T00:00:00Z","modified":"2026-10-23T18:05:23Z","fixes":[{"ecosystem":"Alpine:v3.12","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"privoxy","fixed_in":["3.0.33-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"privoxy","fixed_in":["3.0.33-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"privoxy","fixed_in":["3.0.33-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"privoxy","fixed_in":["3.0.33-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"privoxy","fixed_in":["3.0.26-5ubuntu0.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"privoxy","fixed_in":["3.0.28-2ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.12","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.26-3+deb9u3"}]}],"versions":["3.0.26-3","3.0.26-3+deb9u1","3.0.26-3+deb9u2"],"bundled":2},{"source":"osv","ecosystem":"Mageia:8","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.32-1.1.mga8"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.21-1","3.0.21-2","3.0.21-7+deb8u1build0.14.04.1","3.0.21-7+deb8u1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.23-3","3.0.23-4","3.0.23-5","3.0.24-1","3.0.24-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.26-5ubuntu0.3"}]}],"versions":["3.0.26-3","3.0.26-4","3.0.26-5","3.0.26-5ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.28-2ubuntu0.2"}]}],"versions":["3.0.28-2","3.0.28-2ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.26-5ubuntu0.3"}]}],"versions":["3.0.26-3","3.0.26-4","3.0.26-5","3.0.26-5ubuntu0.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.28-2ubuntu0.2"}]}],"versions":["3.0.28-2","3.0.28-2ubuntu0.1"],"bundled":2},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP3","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-bp153.2.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-bp153.2.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-bp153.2.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-bp154.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-bp154.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"privoxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.33-1.1"}]}],"bundled":4}],"products":[{"vendor":"privoxy","product":"privoxy"}],"references":[{"url":"https://www.privoxy.org/3.0.33/user-manual/whatsnew.html%2C","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://www.privoxy.org/gitweb/?p=privoxy.git%3Ba=commit%3Bh=652b4b7cb0","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44540"},{"url":"https://www.privoxy.org/3.0.33/user-manual/whatsnew.html,"},{"url":"https://www.privoxy.org/gitweb/?p=privoxy.git;a=commit;h=652b4b7cb0","tags":["report"]},{"url":"https://github.com/advisories/GHSA-c56j-2h63-6488"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-44540","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-44540","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0570.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29745","tags":["report"]},{"url":"http://www.privoxy.org/announce.txt","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-44540","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2021/12/09/1","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5826-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-44540","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-44543","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/QYO5MMUZFNF4G2ZDKAE76JYKJCV2JPWK/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1193584","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-44540","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-44541","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-44542","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-44543","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/2UGN5D6UHVWYBE3WUP7XR2TUJPRGWJ2G/","tags":["advisory"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-44540","description":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of compiled pattern spec before bailing.","status":"published","published":"2021-12-23T19:48:42Z","modified":"2024-08-04T04:25:16.799Z","cwes":["CWE-401"],"updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2021-31371","description":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of compiled pattern spec before bailing.","status":"published","published":"2021-12-23T19:48:42Z","modified":"2024-08-04T04:25:16Z","updated_at":"2026-11-03T03:08:29.150764Z"}],"ghsa":[{"id":"GHSA-c56j-2h63-6488","title":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of...","description":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of compiled pattern spec before bailing.","status":"published","published":"2021-12-24T00:00:22Z","modified":"2023-02-03T05:03:14Z","cwes":["CWE-401"],"updated_at":"2026-11-02T14:53:19.085994Z"}],"nvd":[{"id":"CVE-2021-44540","description":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of compiled pattern spec before bailing.","status":"published","published":"2021-12-23T20:15:11.94Z","modified":"2026-06-17T04:12:32.44Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T14:07:02.977492Z"}],"osv":[{"id":"ALPINE-CVE-2021-44540","description":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of compiled pattern spec before bailing.","status":"published","published":"2021-12-23T20:15:11.94Z","modified":"2026-10-23T17:17:56.226356624Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:48.646074Z"},{"id":"CVE-2021-44540","description":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of compiled pattern spec before bailing.","status":"published","published":"2021-12-23T20:15:11.94Z","modified":"2026-04-16T04:35:55.690515866Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:21.877444Z"},{"id":"DEBIAN-CVE-2021-44540","description":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of compiled pattern spec before bailing.","status":"published","published":"2021-12-23T20:15:11.94Z","modified":"2026-10-23T18:05:23.24081072Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:35.799676Z"},{"id":"UBUNTU-CVE-2021-44540","description":"A vulnerability was found in Privoxy which was fixed in get_url_spec_param() by freeing memory of compiled pattern spec before bailing.","status":"published","published":"2021-12-23T20:15:00Z","modified":"2026-02-04T03:10:48.857269Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:29.220315Z"},{"id":"DLA-2844-1","title":"privoxy - security update","status":"published","published":"2021-12-13T00:00:00Z","modified":"2026-03-09T01:22:33.32116Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"MGASA-2021-0570","title":"Updated privoxy packages fix security vulnerabilities","description":"Updated privoxy packages fix security vulnerabilities:\n\nA security issue has been found in Privoxy before version 3.0.33.\nget_url_spec_param() did not free memory of compiled pattern spec\nbefore bailing (CVE-2021-44540).\n\nA security issue has been found in Privoxy before version 3.0.33.\nprocess_encrypted_request_headers() did not free header memory when\nfailing to get the request destination (CVE-2021-44541).\n\nA security issue has been found in Privoxy before version 3.0.33.\nsend_http_request() leaked memory when handling errors (CVE-2021-44542).\n\nA security issue has been found in Privoxy before version 3.0.33.\ncgi_error_no_template() did not encode the template name, which could\nlead to cross-site scripting when Privoxy is configured to servce the\nuser-manual itself (CVE-2021-44543).\n","status":"published","published":"2021-12-19T16:13:42Z","modified":"2026-04-16T04:43:53.315522253Z","updated_at":"2026-11-02T15:49:41.849028Z"},{"id":"openSUSE-SU-2021:1646-1","title":"Security update for privoxy","description":"This update for privoxy fixes the following issues:\n\nprivoxy was updated to 3.0.33 (boo#1193584):\n\n* CVE-2021-44543: Encode the template name to prevent XSS\n  (cross-side scripting) when Privoxy is configured to servce\n  the user-manual itself\n* CVE-2021-44540: Free memory of compiled pattern spec\n  before bailing\n* CVE-2021-44541: Free header memory when failing to get the\n  request destination.\n* CVE-2021-44542: Prevent memory leaks when handling errors\n* Disable fast-redirects for a number of domains\n* Update default block lists\n* Many bug fixes and minor enhancements\n","status":"published","published":"2021-12-30T22:33:06Z","modified":"2025-05-07T18:13:23.492832Z","updated_at":"2026-11-02T16:58:32.266854Z"},{"id":"openSUSE-SU-2022:10186-1","title":"Security update for privoxy","description":"This update for privoxy fixes the following issues:\n\nprivoxy was updated to 3.0.33 (boo#1193584):\n\n* CVE-2021-44543: Encode the template name to prevent XSS\n  (cross-side scripting) when Privoxy is configured to servce\n  the user-manual itself\n* CVE-2021-44540: Free memory of compiled pattern spec\n  before bailing\n* CVE-2021-44541: Free header memory when failing to get the\n  request destination.\n* CVE-2021-44542: Prevent memory leaks when handling errors\n* Disable fast-redirects for a number of domains\n* Update default block lists\n* Many bug fixes and minor enhancements\n","status":"published","published":"2022-11-02T08:52:06Z","modified":"2026-02-04T04:14:17.370433Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:11677-1","title":"privoxy-3.0.33-1.1 on GA media","description":"These are all security issues fixed in the privoxy-3.0.33-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:48:08.25952Z","updated_at":"2026-11-02T16:58:35.195147Z"},{"id":"USN-5826-1","title":"privoxy vulnerabilities","description":"Joshua Rogers discovered that Privoxy incorrectly handled memory allocation. An\nattacker could possibly use this issue to cause a denial of service. (CVE-2021-44540)\n\nArtem Ivanov discovered that Privoxy incorrectly handled input validations. An \nattacker could possibly use this issue to perform cross-site scripting (XSS) attacks. \n(CVE-2021-44543)\n","status":"published","published":"2023-01-25T13:10:00Z","modified":"2026-04-27T16:30:16.229083Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
