Repository navigation
chore(deps): update dependency body-parser to v1.20.9 [security] - #92
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
January 23, 2025 20:30
318c753 to
11c8070
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
February 7, 2025 15:38
11c8070 to
7adbb73
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
March 3, 2025 15:46
7adbb73 to
0e013cd
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
March 11, 2025 11:56
0e013cd to
5ec3796
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
October 21, 2025 17:59
5ec3796 to
b33a563
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
2 times, most recently
from
November 25, 2025 20:27
59ccd8a to
1c5611c
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
December 3, 2025 17:14
1c5611c to
97002f0
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
December 31, 2025 13:07
97002f0 to
6eb8a49
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
February 12, 2026 10:47
6eb8a49 to
a673cfc
Compare
auto-merge was automatically disabled
March 27, 2026 01:43
Pull request was closed
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
2 times, most recently
from
March 30, 2026 18:02
a673cfc to
5d59e67
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
April 8, 2026 21:32
5d59e67 to
a0c1b86
Compare
auto-merge was automatically disabled
April 27, 2026 17:17
Pull request was closed
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
April 27, 2026 21:43
2afa229 to
a0c1b86
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
April 27, 2026 21:43
a0c1b86 to
2afa229
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
May 18, 2026 15:10
2afa229 to
cb26347
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
May 28, 2026 18:51
cb26347 to
be92346
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
June 11, 2026 21:15
be92346 to
e5781da
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
July 12, 2026 16:17
e5781da to
8c2adf5
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
September 9, 2026 16:18
8c2adf5 to
b961c65
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
3 times, most recently
from
October 26, 2026 18:25
3308cd9 to
a332960
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
October 29, 2026 07:11
a332960 to
b2fd555
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.20.2→1.20.9body-parser vulnerable to denial of service when url encoding is enabled
CVE-2024-45590 / GHSA-qwcr-r2fm-qrc7
More information
Details
Impact
body-parser <1.20.3 is vulnerable to denial of service when url encoding is enabled. A malicious actor using a specially crafted payload could flood the server with a large number of requests, resulting in denial of service.
Patches
this issue is patched in 1.20.3
References
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement
CVE-2026-12590 / GHSA-v422-hmwv-36x6
More information
Details
Impact
When body-parser is configured with an invalid
limitoption value, such as an unparseable string orNaN,bytes.parse()returnsnulland the request body size check is silently skipped. Applications that rely onlimitas their primary safeguard against oversized request bodies will accept arbitrarily large payloads, leading to excessive memory and CPU usage and denial of service.This issue affects applications that pass a programmatically computed or user-configurable value to the
limitoption without validating it first.Patches
This issue is fixed in body-parser@2.3.0 and body-parser@1.20.6 via #698. After the fix, invalid
limitvalues throw a clear error at parser construction time instead of silently disabling enforcement.nullandundefinedcontinue to fall back to the default limit (100kb).Workarounds
Validate
limitbefore passing it to body-parser. For example, parse the value withbytes.parse()at startup and reject any configuration where it returnsnullor a non-finite number.References
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
CVE-2026-111181 / GHSA-27r3-jxmh-p828
More information
Details
Impact
A single request can crash any application using
body-parserwith default options. When a request carries aContent-Encoding(for examplegzip),body-parserpipes it into a decompression stream and, after reading the body, leaves that stream piped with no error listener. A payload of one valid compressed frame followed by trailing bytes decodes and the application responds normally, but the trailing bytes then reach the already-finished decoder, which emits an error that is re-thrown as an uncaught exception and terminates the process. No authentication or matching route is required, since parsing runs before routing.Patches
Fixed in body-parser 2.4.0 and 1.20.9. Upgrade to one of these versions.
Workarounds
Pass
inflate: falseto the body-parser middleware if the application does not need to accept compressed request bodies. This rejects encoded requests before any decompression stream is created.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
expressjs/body-parser (body-parser)
v1.20.9Compare Source
Important: Security
What's Changed
Full Changelog: expressjs/body-parser@1.20.8...1.20.9
v1.20.8Compare Source
Important
Same code base as 1.20.7. This was created to test the new release process.
What's Changed
Full Changelog: expressjs/body-parser@1.20.7...1.20.8
v1.20.6Compare Source
======
limitoption validation (#698)limitvalues (e.g. unparseable strings orNaN) now throw instead of being silently ignored, which previously disabled size limit enforcementnullandundefinedfall back to the default 100kb limitv1.20.5Compare Source
======
v1.20.4Compare Source
======
v1.20.3Compare Source
======
depthoption to customize the depth level in the parserdepthlevel for parsing URL-encoded data is now32(previously wasInfinity)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.