Files
advisory-db/crates/sodiumoxide/RUSTSEC-2019-0026.toml
Tony Arcieri 64c17acfe3 Migrate all advisories to V2 format (closes #228)
As announced in #228, this commit migrates all advisories to the new V2
format, which splits version information into a separate section, and
now has a structure which corresponds to the internal code structure of
the `rustsec` crate.

This is a breaking change for users of `cargo-audit` < 0.9, and anyone
who has written a 3rd party advisory format parser.
2020-03-01 10:46:35 -08:00

21 lines
593 B
TOML

[advisory]
id = "RUSTSEC-2019-0026"
package = "sodiumoxide"
date = "2019-10-11"
keywords = ["cryptography"]
url = "https://github.com/sodiumoxide/sodiumoxide/pull/381"
title = "generichash::Digest::eq always return true"
description = """
PartialEq implementation for generichash::Digest has compared itself to itself.
Digest::eq always returns true and Digest::ne always returns false.
"""
[affected.functions]
"sodiumoxide::crypto::generichash::Digest::eq" = ["< 0.2.5, >= 0.2.0"]
"sodiumoxide::crypto::generichash::Digest::ne" = ["< 0.2.5, >= 0.2.0"]
[versions]
patched = [">= 0.2.5"]