{"api_version":"1","generated_at":"2026-04-23T09:53:06+00:00","cve":"CVE-2021-33623","urls":{"html":"https://cve.report/CVE-2021-33623","api":"https://cve.report/api/cve/CVE-2021-33623.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-33623","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-33623"},"summary":{"title":"CVE-2021-33623","description":"The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-05-28 18:15:00","updated_at":"2023-03-01 01:58:00"},"problem_types":["CWE-400"],"metrics":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html","name":"[debian-lts-announce] 20221223 [SECURITY] [DLA 3247-1] node-trim-newlines security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3247-1] node-trim-newlines security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.npmjs.com/package/trim-newlines","name":"https://www.npmjs.com/package/trim-newlines","refsource":"MISC","tags":[],"title":"trim-newlines  -  npm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1","name":"https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1","refsource":"CONFIRM","tags":[],"title":"Release v4.0.1 · sindresorhus/trim-newlines · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20210702-0007/","name":"https://security.netapp.com/advisory/ntap-20210702-0007/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-33623 Node.js Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-33623","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33623","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"33623","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"33623","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"netapp","cpe5":"e-series_performance_analyzer","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"33623","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"trim-newlines_project","cpe5":"trim-newlines","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-33623","qid":"180060","title":"Debian Security Update for node-trim-newlines (CVE-2021-33623)"},{"cve":"CVE-2021-33623","qid":"181443","title":"Debian Security Update for node-trim-newlines (DLA 3247-1)"},{"cve":"CVE-2021-33623","qid":"199274","title":"Ubuntu Security Notification for trim-newlines Vulnerability (USN-5999-1)"},{"cve":"CVE-2021-33623","qid":"982353","title":"Nodejs (npm) Security Update for trim-newlines (GHSA-7p7h-4mm5-852v)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-33623","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://www.npmjs.com/package/trim-newlines","refsource":"MISC","name":"https://www.npmjs.com/package/trim-newlines"},{"refsource":"CONFIRM","name":"https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1","url":"https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20210702-0007/","url":"https://security.netapp.com/advisory/ntap-20210702-0007/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20221223 [SECURITY] [DLA 3247-1] node-trim-newlines security update","url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html"}]}},"nvd":{"publishedDate":"2021-05-28 18:15:00","lastModifiedDate":"2023-03-01 01:58:00","problem_types":["CWE-400"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:trim-newlines_project:trim-newlines:*:*:*:*:*:node.js:*:*","versionStartIncluding":"4.0.0","versionEndExcluding":"4.0.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:trim-newlines_project:trim-newlines:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.0.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"33623","Ordinal":"209034","Title":"CVE-2021-33623","CVE":"CVE-2021-33623","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"33623","Ordinal":"1","NoteData":"The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"33623","Ordinal":"2","NoteData":"2021-05-28","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"33623","Ordinal":"3","NoteData":"2021-07-02","Type":"Other","Title":"Modified"}]}}}