---
title: 'USN-4562-1: kramdown vulnerability | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-4562-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-4562-1

---

# USN-4562-1: kramdown vulnerability

Publication date

30 September 2020

Overview

kramdown could be made to crash, run programs, or leak sensitive information if
it opened a specially crafted file.

Releases

[20.04 LTS](https://ubuntu.com/security/notices?release=focal)

---

Open side navigation

## Packages

* [ruby-kramdown](https://ubuntu.com/security/cves?package=ruby-kramdown) - Fast, pure-Ruby Markdown-superset converter - ruby library

## Details

It was discovered that kramdown insecurely handled certain crafted input.
An attacker could use this vulnerability to read restricted files or
execute arbitrary code.

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 20.04 LTS focal | [kramdown](https://launchpad.net/ubuntu/+source/ruby-kramdown) –  [1.17.0-4ubuntu0.1](https://launchpad.net/ubuntu/+source/ruby-kramdown/1.17.0-4ubuntu0.1) | | |
| [ruby-kramdown](https://launchpad.net/ubuntu/+source/ruby-kramdown) –  [1.17.0-4ubuntu0.1](https://launchpad.net/ubuntu/+source/ruby-kramdown/1.17.0-4ubuntu0.1) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2020-14001](https://ubuntu.com/security/CVE-2020-14001)

## Related notices

* [USN-9060-1](https://ubuntu.com/security/notices/USN-9060-1)
* [USN-4562-2](https://ubuntu.com/security/notices/USN-4562-2)
