CVE-2020-26298
CVE-2020-26298 · Injection in Redcarpet
CVSS 6.8 · Medium · EPSS 1.6% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- redcarpetNo fix published
- ruby-redcarpet Debian 12Update to 3.5.1-1
- ruby-redcarpet Debian 13Update to 3.5.1-1
- ruby-redcarpet Debian 14Update to 3.5.1-1
- and 1 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-redcarpet"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- SUSE-SU-2021:3729-1 · SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 9 ·
- SUSE-SU-2021:3728-1 · SUSE HPE Helion OpenStack 8, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 ·
- DLA-2526-1 · Debian 9 ·
- DSA-4831-1 · Debian 10 ·
Affected products and versions
redcarpet
- Versions
- < 3.5.1: Affected
No fix published
ruby-redcarpet Debian 12
- Affected ranges
- ECOSYSTEM: < 3.5.1-1
Update to 3.5.1-1
ruby-redcarpet Debian 13
- Affected ranges
- ECOSYSTEM: < 3.5.1-1
Update to 3.5.1-1
ruby-redcarpet Debian 14
- Affected ranges
- ECOSYSTEM: < 3.5.1-1
Update to 3.5.1-1
redcarpet RubyGems
- Versions
- 1.0.0
- 1.0.1
- 1.1.0
- 1.1.1
- 1.10.0
- 1.10.1
All versions (72)
- 1.11.0
- 1.11.1
- 1.11.2
- 1.11.3
- 1.11.4
- 1.12.0
- 1.12.1
- 1.12.2
- 1.13.0
- 1.13.1
- 1.13.2
- 1.14.0
- 1.14.1
- 1.14.2
- 1.15.0
- 1.15.1
- 1.15.2
- 1.16.0
- 1.17.0
- 1.17.1
- 1.17.2
- 1.2.0
- 1.2.1
- 1.2.2
- 1.3.0
- 1.3.1
- 1.3.2
- 1.3.3
- 1.5.0
- 1.5.1
- 1.5.2
- 1.5.3
- 1.6.0
- 1.7.0
- 1.7.1
- 1.8.0
- 1.8.1
- 1.8.2
- 1.9.0
- 2.0.0
- 2.0.0b
- 2.0.0b3
- 2.0.0b4
- 2.0.0b5
- 2.0.1
- 2.1.0
- 2.1.1
- 2.2.0
- 2.2.1
- 2.2.2
- 2.3.0
- 3.0.0
- 3.1.0
- 3.1.1
- 3.1.2
- 3.2.0
- 3.2.1
- 3.2.2
- 3.2.3
- 3.3.0
- 3.3.1
- 3.3.2
- 3.3.3
- 3.3.4
- 3.4.0
- 3.5.0
- Affected ranges
- ECOSYSTEM: < 3.5.1
Update to 3.5.1
Original sources
- https://github.com/advisories/GHSA-q3wr-qw3g-3p4h
- https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793
- https://rubygems.org/gems/redcarpet
- https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security
- https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html
- https://www.debian.org/security/2021/dsa-4831
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/
- https://nvd.nist.gov/vuln/detail/CVE-2020-26298