Enum rustsec::advisory::category::Category [−][src]
RustSec Vulnerability Categories
The RustSec project maintains its own categorization system for vulnerabilities according to our criteria for acceptable advisories.
This type represents the present list of allowable vulnerability types for which we allow advisories to be filed.
Variants (Non-exhaustive)
Execution of arbitrary code allowing an attacker to gain partial or total control of an impacted computer system.
Cryptography Failure (e.g. confidentiality breakage, integrity breakage, key leakage)
Vulnerabilities an attacker can leverage to cause crashes or excess resource consumption such that software ceases to function normally, notably panics in code that is advertised as “panic-free” (particularly in format parsers for untrusted data)
Disclosure of local files (a.k.a. “directory traversal”)
Mishandled escaping allowing an attacker to execute code or perform otherwise unexpected operations, e.g. shell escaping, SQL injection, XSS.
Memory unsafety vulnerabilities allowing an attacker to write to unintended locations in memory.
Read-only memory safety vulnerabilities which unintentionally expose data.
Attacks which bypass authentication and/or authorization systems, allowing the attacker to obtain unintended privileges.
Thread safety bug, e.g. data races arising from unsafe code that
misapplies and/or misuses Send
/Sync
.
Other(String)
Other types of categories: left open-ended to add more of them in the future.
Implementations
impl Category
[src]
Trait Implementations
impl Clone for Category
[src]
impl Debug for Category
[src]
impl<'de> Deserialize<'de> for Category
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
impl Display for Category
[src]
impl Eq for Category
[src]
impl FromStr for Category
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Error>
[src]
impl Hash for Category
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Category
[src]
fn cmp(&self, other: &Category) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Category> for Category
[src]
impl PartialOrd<Category> for Category
[src]
fn partial_cmp(&self, other: &Category) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for Category
[src]
impl StructuralEq for Category
[src]
impl StructuralPartialEq for Category
[src]
Auto Trait Implementations
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,