fix(deps): update rust crate warp to 0.3.7 [security] - autoclosed #94
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:
0.3
->0.3.7
Warp vulnerable to Path Traversal via Improper validation of Windows paths
GHSA-8v4j-7jgf-5rg9 / RUSTSEC-2022-0082
More information
Details
Path resolution in
warp::filters::fs::dir
didn't correctly validate Windows paths meaning paths like/foo/bar/c:/windows/web/screen/img101.png
would be allowed and respond with the contents ofc:/windows/web/screen/img101.png
. Thus users could potentially read files anywhere on the filesystem.This only impacts Windows. Linux and other unix likes are not impacted by this.
Severity
High
References
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Improper validation of Windows paths could lead to directory traversal attack
GHSA-8v4j-7jgf-5rg9 / RUSTSEC-2022-0082
More information
Details
Path resolution in
warp::filters::fs::dir
didn't correctly validate Windows pathsmeaning paths like
/foo/bar/c:/windows/web/screen/img101.png
would be allowedand respond with the contents of
c:/windows/web/screen/img101.png
. Thus userscould potentially read files anywhere on the filesystem.
This only impacts Windows. Linux and other unix likes are not impacted by this.
Severity
Unknown
References
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
Release Notes
seanmonstar/warp (warp)
v0.3.7
Compare Source
tls()
config.v0.3.6
Compare Source
None
tomultipart::form().max_length()
.Reply
forResult<impl Reply, impl Reply>
.multipart::Part::content_type()
return the full mime string.TlsServer::try_bind_with_graceful_shutdown()
.v0.3.5
Compare Source
multipart
filters now usemulter
dependency, fixing some streaming bugs.Rejection::into_response()
is significantly faster.v0.3.4
Compare Source
multipart::Part
data is now streamed instead of buffered.multipart
filters.v0.3.3
Compare Source
fs
filters path sanitization to reject colons on Windows.v0.3.2
Compare Source
Filter::then()
, which is likeFilter::map()
in that it's infallible, but is async likeFilter::and_then()
.redirect::found()
reply helper that returns302 Found
.compression-brotli
andcompression-gzip
cargo features to enable only the compression you need.HEAD
requests to be served tofs::dir()
filters.path!()
with no arguments.futures
withfutures-util
, which is a smaller dependency.v0.3.1
Compare Source
pong
constructor to websocket messages.redirect::see_other
andredirect::permanent
helpers.fs
filters sometimes having an off-by-one error with range requests.Access-Control-Request-Headers
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8pm,before 6am" in timezone America/Denver.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.