Back to Security Advisories

Kramdown Vulnerability — Ubuntu Security Update (USN-9060-1)

USN-9060-1 fixes CVE-2020-14001 in Kramdown on Ubuntu 18.04 LTS and 16.04 LTS: kramdown could be made to expose sensitive information or run programs if it opened a specially crafted file. A standard system update installs the fix.

Critical 9.8 CVSS
Ubuntu 20.04 Ubuntu 22.04

What this means under a SharedLicense license

An attacker could possibly use this issue to read arbitrary files or execute arbitrary code.

  1. Ubuntu Security Notices

  2. USN-9060-1


Publication date

11 November 2026

Overview

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

Releases


18.04 LTS


16.04 LTS


Packages

Details

It was discovered that kramdown processed the template option in documents
by default. An attacker could possibly use this issue to read arbitrary
files or execute arbitrary code.

It was discovered that kramdown processed the template option in documents
by default. An attacker could possibly use this issue to read arbitrary
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.

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

Ubuntu Release Package Version
18.04 LTS bionic ruby-kramdown –  1.15.0-1ubuntu0.1~esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
16.04 LTS xenial ruby-kramdown –  1.10.0-1ubuntu0.1~esm1

References

Related notices

Frequently Asked Questions

What does USN-9060-1 fix?
It was discovered that kramdown processed the template option in documents by default. An attacker could possibly use this issue to read arbitrary files or execute arbitrary code.
Which Ubuntu releases are affected?
The notice lists Ubuntu 18.04 LTS, Ubuntu 16.04 LTS.
How do I apply USN-9060-1?
In general, a standard system update will make all the necessary changes. In practice: run sudo apt update && sudo apt upgrade on the server.
Which packages are updated?
The update ships new builds of ruby-kramdown - Fast, pure-Ruby Markdown-superset converter.

Check your system for vulnerabilities

Select your product and operating system to see the exact fix commands that apply to you.

Check Your System