ALT-PU-2024-7818-5
Package gem-redcarpet updated to version 3.5.1.1-alt1 for branch c10f1 in task 334397.
Closed vulnerabilities
Published: 2021-01-13
BDU:2021-03625
Уязвимость библиотеки Ruby для парсинга Markdown в HTML Redcarpet, связанная с непринятием мер по защите структуры веб-страницы, позволяющая нарушителю оказать воздействие на целостность защищаемой информации
Severity: MEDIUM (5.4)
Vector: AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References:
Published: 2021-01-11
Modified: 2024-11-21
Modified: 2024-11-21
CVE-2020-26298
Redcarpet is a Ruby library for Markdown processing. In Redcarpet before version 3.5.1, there is an injection vulnerability which can enable a cross-site scripting attack. In affected versions no HTML escaping was being performed when processing quotes. This applies even when the `:escape_html` option was being used. This is fixed in version 3.5.1 by the referenced commit.
Severity: MEDIUM (5.4)
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References:
- https://github.com/advisories/GHSA-q3wr-qw3g-3p4h
- https://github.com/advisories/GHSA-q3wr-qw3g-3p4h
- https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security
- https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security
- https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793
- https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793
- [debian-lts-announce] 20210115 [SECURITY] [DLA 2526-1] ruby-redcarpet security update
- [debian-lts-announce] 20210115 [SECURITY] [DLA 2526-1] ruby-redcarpet security update
- FEDORA-2023-8682a0e17d
- FEDORA-2023-8682a0e17d
- FEDORA-2023-597f13ffb9
- FEDORA-2023-597f13ffb9
- FEDORA-2023-44daa9c1d4
- FEDORA-2023-44daa9c1d4
- https://rubygems.org/gems/redcarpet
- https://rubygems.org/gems/redcarpet
- DSA-4831
- DSA-4831