{"id":"UBUNTU-CVE-2021-22940","details":"Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.","modified":"2025-07-16T07:55:01.997114Z","published":"2021-08-16T19:15:00Z","withdrawn":"2025-07-18T16:46:39Z","upstream":["CVE-2021-22940"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22940"},{"type":"REPORT","url":"https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/#use-after-free-on-close-http2-on-stream-canceling-high-cve-2021-22940"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-22940"}],"affected":[{"package":{"name":"nodejs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nodejs@12.22.9~dfsg-1ubuntu3.6?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.22.9~dfsg-1ubuntu3.6"}]}],"versions":["12.22.5~dfsg-5ubuntu1","12.22.7~dfsg-2ubuntu1","12.22.7~dfsg-2ubuntu3","12.22.9~dfsg-1ubuntu2","12.22.9~dfsg-1ubuntu3","12.22.9~dfsg-1ubuntu3.1","12.22.9~dfsg-1ubuntu3.2","12.22.9~dfsg-1ubuntu3.3","12.22.9~dfsg-1ubuntu3.4","12.22.9~dfsg-1ubuntu3.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libnode-dev","binary_version":"12.22.9~dfsg-1ubuntu3.6"},{"binary_name":"libnode72","binary_version":"12.22.9~dfsg-1ubuntu3.6"},{"binary_version":"12.22.9~dfsg-1ubuntu3.6","binary_name":"libnode72-dbgsym"},{"binary_name":"nodejs","binary_version":"12.22.9~dfsg-1ubuntu3.6"},{"binary_name":"nodejs-dbgsym","binary_version":"12.22.9~dfsg-1ubuntu3.6"},{"binary_name":"nodejs-doc","binary_version":"12.22.9~dfsg-1ubuntu3.6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22940.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"low"}]}