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.
citybound(4 total, 2 outdated)
| Crate | Required | Latest | Status |
|---|---|---|---|
| rouille | ^2.1.0 | 3.6.2 | out of date |
| clap | ^2.32.0 | 4.5.50 | out of date |
| backtrace | ^0.3 | 0.3.76 | up to date |
| ctrlc | ^3.1.3 | 3.5.0 | up to date |
cb_simulation(14 total, 6 outdated, 1 possibly insecure)
| Crate | Required | Latest | Status |
|---|---|---|---|
| ordered-float ⚠️ | ^1.0.1 | 5.1.0 | out of date |
| itertools | ^0.7.8 | 0.14.0 | out of date |
| rand | ^0.5 | 0.9.2 | out of date |
| fnv | ^1.0.6 | 1.0.7 | up to date |
| roaring | ^0.5.2 | 0.11.2 | out of date |
| serde | ^1.0 | 1.0.228 | up to date |
| serde_derive | ^1.0 | 1.0.228 | up to date |
| uuid | ^0.7.1 | 1.18.1 | out of date |
| compact | ^0.2.16 | 0.2.16 | up to date |
| compact_macros | ^0.1.0 | 0.1.0 | up to date |
| kay | ^0.5.1 | 0.5.1 | up to date |
| descartes | ^0.1.20 | 0.1.20 | up to date |
| michelangelo | ^0.2.5 | 0.2.5 | up to date |
| arrayvec | ^0.4.10 | 0.7.6 | out of date |
(1 total, all up-to-date)
| Crate | Required | Latest | Status |
|---|---|---|---|
| kay_codegen | ^0.3.10 | 0.3.10 | up to date |
cb_planning(7 total, 1 outdated)
| Crate | Required | Latest | Status |
|---|---|---|---|
| serde | ^1.0 | 1.0.228 | up to date |
| serde_derive | ^1.0 | 1.0.228 | up to date |
| uuid | ^0.7.1 | 1.18.1 | out of date |
| compact | ^0.2.13 | 0.2.16 | up to date |
| compact_macros | ^0.1.0 | 0.1.0 | up to date |
| kay | ^0.5.1 | 0.5.1 | up to date |
| descartes | ^0.1.20 | 0.1.20 | up to date |
(1 total, all up-to-date)
| Crate | Required | Latest | Status |
|---|---|---|---|
| kay_codegen | ^0.3.10 | 0.3.10 | up to date |
cb_util(11 total, 5 outdated, 1 possibly insecure)
| Crate | Required | Latest | Status |
|---|---|---|---|
| rand | ^0.5 | 0.9.2 | out of date |
| fnv | ^1.0.6 | 1.0.7 | up to date |
| serde | ^1.0 | 1.0.228 | up to date |
| serde_derive | ^1.0 | 1.0.228 | up to date |
| uuid | ^0.7.1 | 1.18.1 | out of date |
| compact | ^0.2.13 | 0.2.16 | up to date |
| compact_macros | ^0.1.0 | 0.1.0 | up to date |
| arrayvec | ^0.4.10 | 0.7.6 | out of date |
| kay | ^0.5.1 | 0.5.1 | up to date |
| notify | ^4.0.12 | 8.2.0 | out of date |
| serde_yaml ⚠️ | ^0.8 | 0.9.34+deprecated | out of date |
(1 total, all up-to-date)
| Crate | Required | Latest | Status |
|---|---|---|---|
| kay_codegen | ^0.3.10 | 0.3.10 | up to date |
cb_time(6 total, 1 outdated)
| Crate | Required | Latest | Status |
|---|---|---|---|
| serde | ^1.0 | 1.0.228 | up to date |
| serde_derive | ^1.0 | 1.0.228 | up to date |
| uuid | ^0.7.1 | 1.18.1 | out of date |
| compact | ^0.2.13 | 0.2.16 | up to date |
| compact_macros | ^0.1.0 | 0.1.0 | up to date |
| kay | ^0.5.1 | 0.5.1 | up to date |
(1 total, all up-to-date)
| Crate | Required | Latest | Status |
|---|---|---|---|
| kay_codegen | ^0.3.10 | 0.3.10 | up to 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.
ordered-float: ordered_float:NotNan may contain NaN after panic in assignment operatorsAfter using an assignment operators such as NotNan::add_assign, NotNan::mul_assign, etc., it was possible for the resulting NotNan value to contain a NaN. This could cause undefined behavior in safe code, because the safe NotNan::cmp method contains internal unsafe code that assumes the value is never NaN. (It could also cause undefined behavior in third-party unsafe code that makes the same assumption, as well as logic errors in safe code.)
This was mitigated starting in version 0.4.0, by panicking if the assigned value is NaN. However, in affected versions from 0.4.0 onward, code that uses the NotNan value during unwinding, or that continues after catching the panic, could still observe the invalid value and trigger undefined behavior.
The flaw is fully corrected in versions 1.1.1 and 2.0.1, by ensuring that the assignment operators panic without modifying the operand, if the result would be NaN.