-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Hardening: input validation and bounds tightening across 31 subsystems (round 3) #31221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 100 commits
Commits
Show all changes
104 commits
Select commit
Hold shift + click to select a range
650fe58
install: tighten dependency folder name validation
Jarred-Sumner bc24145
mysql: tighten handshake packet handling
Jarred-Sumner 912ce20
router: fix decoded path buffer ownership
Jarred-Sumner 1456ba5
structuredClone: bound constant pool index handling
Jarred-Sumner 0d65ca4
install: align migration skip predicates
Jarred-Sumner 885e7eb
node:http: tighten server socket receiver checks
Jarred-Sumner 65955da
serve: fix ref accounting in deferred response path
Jarred-Sumner 3792cf6
node:http: tighten parser execute handling
Jarred-Sumner 620bfae
node:crypto: tighten cipher option handling
Jarred-Sumner 67296c7
formdata: tighten header value parsing
Jarred-Sumner 0afe9a4
install: copy manifest name before enqueue
Jarred-Sumner 6b388f6
install: validate binary lockfile patch entries
Jarred-Sumner 9b79959
fetch: tighten proxy response handling
Jarred-Sumner d34cb60
node:zlib: validate write state array length
Jarred-Sumner b82bb94
shell: track interpolated value ranges in parser
Jarred-Sumner 8f87f6f
sql: validate transaction option strings
Jarred-Sumner 4abfade
node:fs: pin read buffers for async operations
Jarred-Sumner ec7e7be
node:http: reorder buffered write conversion
Jarred-Sumner ebfd98c
uws: stop parsing when data handler invalidates socket
Jarred-Sumner af3500b
node:fs: snapshot vector buffers before deriving pointers
Jarred-Sumner 72517ef
streams: re-derive pending view before copy
Jarred-Sumner 5defeda
sql: tighten array type name validation
Jarred-Sumner 15c5fa2
sqlite: revalidate statement around bind callbacks
Jarred-Sumner f3ad7bc
sourcemap: bound vlq decode loop
Jarred-Sumner d86503e
fetch: tighten content-length parsing
Jarred-Sumner 921a1ae
url: bound query string parameter count
Jarred-Sumner 78d3a53
install: require integrity for off-registry lockfile entries
Jarred-Sumner 9955087
postgres: reject malformed array literals
Jarred-Sumner e2e3a26
node:zlib: hold write buffers across async work
Jarred-Sumner 0bfc3e2
timers: clean up promoted timer map entries
Jarred-Sumner ecaa6cc
serve: cap streamed request body size
Jarred-Sumner 2257eab
install: tighten symlink target normalization
Jarred-Sumner 03a613d
resolver: validate export wildcard segments
Jarred-Sumner f9140f4
mysql: bound packet payload length
Jarred-Sumner 149b4da
mysql: distinguish null marker from length prefix
Jarred-Sumner a088a65
blob: copy typed array parts during construction
Jarred-Sumner 2031a01
http2: pass full name buffer to header validation
Jarred-Sumner 56b9f2f
http2: bound headers frame padding
Jarred-Sumner 7639b83
shell: terminate seq loop on non-advancing increment
Jarred-Sumner f39fbcb
tls: enforce renegotiation rate policy
Jarred-Sumner 7700750
fetch: include host override in connection pool key
Jarred-Sumner cfa3ba6
strings: compare bytes in hashed string equality
Jarred-Sumner debf7c3
strings: avoid narrowing utf16 length conversion
Jarred-Sumner 7e266df
node:crypto: reject unconvertible signature encodings
Jarred-Sumner 5b2e1d1
node:vm: tighten module receiver checks
Jarred-Sumner 260b872
fetch: reset host override on cross-origin redirect
Jarred-Sumner 4360c91
dns: compare hostnames in cache lookup
Jarred-Sumner d3d692b
fs.watch: scope watcher manager to calling vm
Jarred-Sumner b294740
spawn: clear aliased buffer before source detach
Jarred-Sumner 83b99df
glob: bound multi-byte literal comparison
Jarred-Sumner 3e48f18
mysql: validate temporal value ranges
Jarred-Sumner 1d30640
http2: validate response header values
Jarred-Sumner 13c6be4
shell: open directories without following links during rm
Jarred-Sumner 78e1ee1
structuredClone: validate view backing store tag
Jarred-Sumner 957b4ff
websocket: enforce max payload on decompression fast path
Jarred-Sumner 0d7eb62
node:fs: pin read buffers for async operations (extern decl consistency)
Jarred-Sumner 5396bbb
[autofix.ci] apply automated fixes
autofix-ci[bot] 64f4570
test: add regression coverage for input validation changes
Jarred-Sumner a0fd96f
node:http: surface unframeable responses as parse errors
Jarred-Sumner 914eac5
blob: only copy typed array parts when a later part can run user code
Jarred-Sumner 678971d
blob: also force part cloning while other entries remain to be walked
Jarred-Sumner 5c2f428
fetch: handle proxy CONNECT responses consistently across redirect modes
Jarred-Sumner b53c8a7
install: align validation helpers across lockfile read/write paths
Jarred-Sumner ec04d7a
node:zlib: validate the writeResult argument type in init
Jarred-Sumner d72d7e4
url: bound the query-string pre-scan at the parameter cap
Jarred-Sumner 5a0fd93
server: count pre-stream buffered bytes against the request body limit
Jarred-Sumner 437f05a
fs.watch: free a displaced watcher manager on Windows
Jarred-Sumner 4a209a5
sql: accept spaces inside array type modifiers
Jarred-Sumner d02b435
test: tighten assertions and follow string-building conventions
Jarred-Sumner 9dc7f11
[autofix.ci] apply automated fixes
autofix-ci[bot] ec332c0
formdata: release the duplicated part content type after appending
Jarred-Sumner 9870167
install: tighten folder name validation in the isolated linker
Jarred-Sumner 1d91bfd
node:http: tighten parser execution state handling
Jarred-Sumner 3fdfb95
sql: bound outgoing packet framing
Jarred-Sumner 2121739
tls: bound peer-initiated renegotiation handling
Jarred-Sumner ac2ecf4
node:wasi: tighten path resolution against the preopened directory
Jarred-Sumner b63a91a
blob: tighten part buffer lifetime handling
Jarred-Sumner 06eaeb0
[autofix.ci] apply automated fixes
autofix-ci[bot] ab3e7e8
tls: keep the safety comment adjacent to the renegotiate call
Jarred-Sumner b7d98b0
node:zlib: validate remaining typed array arguments in init
Jarred-Sumner 97cd2d3
fetch: defer host override reset until the redirected socket is released
Jarred-Sumner 6191839
test: use Buffer.alloc for repetitive payloads in deflate limit test
Jarred-Sumner a5a78e6
fetch: also drop the host override on multiplexed cross-origin redirects
Jarred-Sumner 90427e7
node:fs: root collected vector elements for the duration of pointer d…
Jarred-Sumner ace4d31
remove redundant comments
Jarred-Sumner 8816da7
fetch: distinguish content-length framing errors from malformed respo…
Jarred-Sumner 0fa3e09
tls: reset the renegotiation count each window
Jarred-Sumner 4dfb923
[autofix.ci] apply automated fixes
autofix-ci[bot] 54526d8
fetch: also ignore transfer-encoding on a successful connect response
Jarred-Sumner 7ba1407
wasi: walk up on any path resolution failure during the containment c…
Jarred-Sumner 59e94e4
test: surface subprocess stderr in the remaining spawn assertions
Jarred-Sumner d812559
node: hold async I/O buffers in cached values instead of handles
Jarred-Sumner 9fbd458
jsc: add ArrayBuffer::unpin and release async buffers on completion
Jarred-Sumner a6213b7
node:fs: gate vectored buffer arrays on the array structure, not its …
Jarred-Sumner 7a238be
sqlite: always copy string parameters when binding
Jarred-Sumner 1e0dae5
test: assert zlib write buffers are transferable after completion
Jarred-Sumner 72a9754
node:fs: hold vectored I/O buffers for the duration of an async write
Jarred-Sumner a161f8d
node:fs: balance the exception check and buffer release on error paths
Jarred-Sumner 004824f
test: assert empty stderr in two more subprocess tests
Jarred-Sumner 749270b
test: assert empty stderr in the last two unchecked subprocess spawns
Jarred-Sumner 339e101
formdata: accept HTAB inside part header values
Jarred-Sumner 297d8d6
[autofix.ci] apply automated fixes
autofix-ci[bot] 5c4345e
zlib: surface buffer materialization failure as an error
Jarred-Sumner f9bb063
test: build the oversized header name without String.repeat
Jarred-Sumner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.