[−][src]Enum rustsec::advisory::category::Category
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
CodeExecution
Execution of arbitrary code allowing an attacker to gain partial or total control of an impacted computer system.
CryptoFailure
Cryptography Failure (e.g. confidentiality breakage, integrity breakage, key leakage)
DenialOfService
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)
FileDisclosure
Disclosure of local files (a.k.a. "directory traversal")
FormatInjection
Mishandled escaping allowing an attacker to execute code or perform otherwise unexpected operations, e.g. shell escaping, SQL injection, XSS.
MemoryCorruption
Memory unsafety vulnerabilities allowing an attacker to write to unintended locations in memory.
MemoryExposure
Read-only memory safety vulnerabilities which unintentionally expose data.
PrivilegeEscalation
Attacks which bypass authentication and/or authorization systems, allowing the attacker to obtain unintended privileges.
Other(String)
Other types of categories: left open-ended to add more of them in the future.
Methods
impl Category
[src]
Trait Implementations
impl Eq for Category
[src]
impl Clone for Category
[src]
impl PartialOrd<Category> for Category
[src]
fn partial_cmp(&self, other: &Category) -> Option<Ordering>
[src]
fn lt(&self, other: &Category) -> bool
[src]
fn le(&self, other: &Category) -> bool
[src]
fn gt(&self, other: &Category) -> bool
[src]
fn ge(&self, other: &Category) -> bool
[src]
impl Ord for Category
[src]
fn cmp(&self, other: &Category) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Category> for Category
[src]
impl Hash for Category
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Display for Category
[src]
impl Debug 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 Serialize for Category
[src]
impl<'de> Deserialize<'de> for Category
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
Auto Trait Implementations
impl Unpin for Category
impl Sync for Category
impl Send for Category
impl UnwindSafe for Category
impl RefUnwindSafe for Category
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,