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.

Crate attohttpc

Dependencies

(9 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 encoding_rs^0.80.8.34up to date
 http ⚠️^0.11.1.0out of date
 libflate^0.12.0.0out of date
 log^0.40.4.21up to date
 native-tls^0.20.2.11up to date
 serde^11.0.198up to date
 serde_json^11.0.116up to date
 serde_urlencoded^0.60.7.1out of date
 url^12.5.0out of date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 env_logger^0.50.11.3out of date
 lazy_static^11.4.0up to date
 rouille^33.6.2up to date

Security Vulnerabilities

http: Integer Overflow in HeaderMap::reserve() can cause Denial of Service

RUSTSEC-2019-0033

HeaderMap::reserve() used usize::next_power_of_two() to calculate the increased capacity. However, next_power_of_two() silently overflows to 0 if given a sufficiently large number in release mode.

If the map was not empty when the overflow happens, the library will invoke self.grow(0) and start infinite probing. This allows an attacker who controls the argument to reserve() to cause a potential denial of service (DoS).

The flaw was corrected in 0.1.20 release of http crate.

http: HeaderMap::Drain API is unsound

RUSTSEC-2019-0034