Affected versions of this crate did not properly check for recursion while deserializing aliases.
This allows an attacker to make a YAML file with an alias referring to itself causing an abort.
The flaw was corrected by checking the recursion depth.
This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.
javelin(19 total, 12 outdated, 4 possibly insecure)
| Crate | Required | Latest | Status | 
|---|---|---|---|
| bytes | ^0.4 | 1.10.1 | out of date | 
| chrono ⚠️ | ^0.4 | 0.4.42 | maybe insecure | 
| clap | ~2.32 | 4.5.51 | out of date | 
| futures | ^0.1 | 0.3.31 | out of date | 
| javelin-codec | ^0.3.4 | 0.3.4 | up to date | 
| log | ^0.4 | 0.4.28 | up to date | 
| m3u8-rs | ^1.0 | 6.0.0 | out of date | 
| mpeg2ts | ^0.1 | 0.3.1 | out of date | 
| native-tls | ^0.2 | 0.2.14 | up to date | 
| parking_lot | ^0.7 | 0.12.5 | out of date | 
| rml_rtmp | ^0.2 | 0.8.0 | out of date | 
| serde | ^1.0 | 1.0.228 | up to date | 
| serde_json | ^1.0 | 1.0.145 | up to date | 
| serde_yaml ⚠️ | ^0.8 | 0.9.34+deprecated | out of date | 
| simplelog | ^0.5 | 0.12.2 | out of date | 
| tempfile | ^3.0 | 3.23.0 | up to date | 
| tokio ⚠️ | ^0.1 | 1.48.0 | out of date | 
| tokio-tls | ^0.2 | 0.3.1 | out of date | 
| warp ⚠️ | ^0.1 | 0.4.2 | out of date | 
serde_yaml: Uncontrolled recursion leads to abort in deserializationAffected versions of this crate did not properly check for recursion while deserializing aliases.
This allows an attacker to make a YAML file with an alias referring to itself causing an abort.
The flaw was corrected by checking the recursion depth.
chrono: Potential segfault in `localtime_r` invocationsUnix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.
No workarounds are known.
tokio: Data race when sending and receiving after closing a `oneshot` channelIf a tokio::sync::oneshot channel is closed (via the
oneshot::Receiver::close method), a data race may occur if the
oneshot::Sender::send method is called while the corresponding
oneshot::Receiver is awaited or calling try_recv.
When these methods are called concurrently on a closed channel, the two halves of the channel can concurrently access a shared memory location, resulting in a data race. This has been observed to cause memory corruption.
Note that the race only occurs when both halves of the channel are used
after the Receiver half has called close. Code where close is not used, or where the
Receiver is not awaited and try_recv is not called after calling close,
is not affected.
See tokio#4225 for more details.
warp: Improper validation of Windows paths could lead to directory traversal attackPath 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 of c:/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.