Skip to main content
Public proof of conceptFix available

CVE-2022-24803

A public proof of concept exists; no exploitation attested.

  • Published2022-04-01
  • Fixed in0.4.0
  • WeaknessCWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Asciidoctor-include-ext is Asciidoctor’s standard include processor reimplemented as an extension. Versions prior to 0.4.0, when used to render user-supplied input in AsciiDoc markup, may allow an attacker to execute arbitrary system commands on the host operating system. This attack is possible even when `allow-uri-read` is disabled! The problem has been patched in the referenced commits.

Timeline

dates in UTC
  1. 2022-04-0100:15CVE publishedNVD
  2. 2026-10-2700:20First public proof of conceptPoC-in-GitHub

Versions per branch

NVD · OSV
Asciidoctor-include-ext project asciidoctor-include-ext
BranchAffectedFixed in
0.4< 0.4.00.4.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • jirutka asciidoctor-include-ext
    Affected
    • = < 0.4.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2022-03-31

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ruby-asciidoctor-include-extUbuntu:25.10all versions · no fixed version listed
  • ruby-asciidoctor-include-extUbuntu:22.04:LTSall versions · no fixed version listed
  • ruby-asciidoctor-include-extUbuntu:20.04:LTSall versions · no fixed version listed
  • ruby-asciidoctor-include-extDebian:14all versions · fixed in 0.4.0-2
  • ruby-asciidoctor-include-extDebian:13all versions · fixed in 0.4.0-2
  • ruby-asciidoctor-include-extDebian:12all versions · fixed in 0.4.0-2

Full record on NVD

Fix

  1. Update Asciidoctor-include-ext project asciidoctor-include-ext to 0.4.0

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-04-22
  • CNACVSS 3.110known since 2026-10-23
  • NVDCVSS 3.19.8read 2026-10-23
  • NVDCVSS 2.010read 2026-10-23
  • CNAweakness (CWE)CWE-78known since 2026-10-23
  • FIRST EPSSEPSS score2.7 %2026-12-04
  • PoC-in-GitHubproof of concept1known since 2026-11-01
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCritical2022-03-31

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2022-04-01
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-v222-6mr4-qj29

Frequently asked questions

What is CVE-2022-24803?

Asciidoctor-include-ext is Asciidoctor’s standard include processor reimplemented as an extension. Versions prior to 0.4.0, when used to render user-supplied input in AsciiDoc markup, may allow an attacker to execute arbitrary system commands on the host operating system. This attack is possible even when `allow-uri-read` is disabled! The problem has been patched in the referenced commits.

Is CVE-2022-24803 actively exploited?

A proof-of-concept exploit exists for CVE-2022-24803, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-24803?

CVE-2022-24803 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running asciidoctor-include-ext? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record