body-parser vulnerabilities
Node.js body parsing middleware
- Registry
- npm
- Latest
- 2.4.0
- License
- MIT
4 known advisories
The latest version, 2.4.0, is not affected by any of them. Projects on older versions may be.
npm install body-parser@2.4.0Is your project on an affected body-parser?
Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for body-parser
body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
- Affected
- >=2.0.0 <2.4.0 · <1.20.9
- Fixed in
- 1.20.9, 2.4.0
body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement
- Affected
- <1.20.6 · >=2.0.0 <2.3.0
- Fixed in
- 1.20.6, 2.3.0
body-parser is vulnerable to denial of service when url encoding is used
- Affected
- >=2.2.0 <2.2.1
- Fixed in
- 2.2.1
body-parser vulnerable to denial of service when url encoding is enabled
- Affected
- <1.20.3
- Fixed in
- 1.20.3
Is your body-parser version vulnerable?
- body-parser 2.4No known advisories in 2.4.0
- body-parser 2.31 advisory in 2.3.0
- body-parser 2.22 advisories in 2.2.2
- body-parser 2.12 advisories in 2.1.0
- body-parser 2.02 advisories in 2.0.2
- body-parser 1.20No known advisories in 1.20.9
- body-parser 1.193 advisories in 1.19.2
- body-parser 1.183 advisories in 1.18.3
- body-parser 1.173 advisories in 1.17.2
- body-parser 1.163 advisories in 1.16.1
- body-parser 1.153 advisories in 1.15.2
Which of your client projects still run an old body-parser?
NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other npm packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.