Advisory

UBUNTU-CVE-2021-40690

Also known as: CVE-2021-40690

Summary

The record has no summary.

Details

All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "secureValidation" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2021-09-19 18:15 UTC
Modified
2026-11-18 00:45 UTC

Affected packages and fixes

libxml-security-java

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.0.10-2~18.04.1 (ecosystem)

Fixed versions

2.0.10-2~18.04.1

Fix

  • Fixed version 2.0.10-2~18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libxml-security-java

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.0.10-2+deb11u1build0.20.04.1 (ecosystem)

Fixed versions

2.0.10-2+deb11u1build0.20.04.1

Fix

  • Fixed version 2.0.10-2+deb11u1build0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences