mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-30 08:13:58 +01:00
Add advisory for ammonia
This commit is contained in:
22
crates/ammonia/RUSTSEC-0000-0000.toml
Normal file
22
crates/ammonia/RUSTSEC-0000-0000.toml
Normal file
@@ -0,0 +1,22 @@
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "ammonia"
|
||||
date = "2019-04-27"
|
||||
title = "Uncontrolled recursion leads to abort in HTML serialization"
|
||||
description = """
|
||||
Affected versions of this crate did use recursion for serialization of HTML
|
||||
DOM trees.
|
||||
|
||||
This allows an attacker to cause abort due to stack overflow by providing
|
||||
a pathologically nested input.
|
||||
|
||||
The flaw was corrected by serializing the DOM tree iteratively instead.
|
||||
"""
|
||||
patched_versions = [">= 2.1.0"]
|
||||
url = "https://github.com/rust-ammonia/ammonia/blob/master/CHANGELOG.md#210"
|
||||
keywords = ["stack-overflow", "crash"]
|
||||
affected_functions = [
|
||||
"ammonia::clean",
|
||||
"ammonia::Document::to_string",
|
||||
"ammonia::Document::write_to",
|
||||
]
|
||||
Reference in New Issue
Block a user