amazon-ion / ion-schema-rust

Rust implementation of Ion Schema
https://amazon-ion.github.io/ion-schema/sandbox
Apache License 2.0
12 stars 6 forks source link

Disable default features for chrono, avoid CVE #192

Closed progwriter closed 1 year ago

progwriter commented 1 year ago

By default the oldtime feature is enabled, which brings in the deprecated version of time dependency, which exposes dependency the risk of CVE-2020-26235.

This fix manually disables the oldtime feature of chrono.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

progwriter commented 1 year ago

Superseded by #193