DHI-5sov-dxuz-izqw-ojbm

Source
https://scout.docker.com/v/DHI-5sov-dxuz-izqw-ojbm
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-5sov-dxuz-izqw-ojbm
Upstream
Published
2026-11-13T16:59:06Z
Modified
2026-11-20T18:30:11Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
`BytesStart::attributes()` returns an `Attributes` iterator which, by default
Details

BytesStart::attributes() returns an Attributes iterator which, by default (with_checks(true)), rejects a start tag that repeats an attribute name. For each attribute yielded, the iterator compared the new name against every name seen so far in the same tag using a linear scan, so a start tag with N distinct attribute names cost O(N²) byte comparisons. There was no bound on N other than the size of the buffered start tag.

Impact

Any code that parses untrusted XML and iterates a start tag's attributes with the default duplicate check enabled can be made to spend CPU time quadratic in the number of attributes on a single tag. Because the check is pure computation with no .await/I/O, an I/O-based timeout on the consumer (for example a read or request timeout) cannot interrupt it while it runs.

Measured cost of a single start tag, release build:

Attributes on one tag Time
80,000 ~6 s
800,000 ~10 min

The cost grows with the square of the attribute count, so a start tag of a few tens of megabytes can stall a parsing thread for hours. No memory is exhausted and the parser does not crash; the effect is CPU exhaustion on the thread doing the parsing: a single crafted start tag can pin a CPU core for minutes to hours, denying service to that worker. A deployment that places a wall-clock bound on parsing, or confines it to a non-critical thread, may consider the availability impact lower.

Affected code paths

  • BytesStart::attributes() / Attributes iterated with checks enabled (the default), and BytesStart::try_get_attribute.
  • NsReader, which resolves namespaces by iterating a tag's attributes and so reaches the same check internally.

Consumers that iterate attributes with .attributes().with_checks(false) and do not use NsReader are not affected.

This was reported as reachable by a remote, unauthenticated attacker in a real-world RPKI relying party (NLnet Labs Routinator) via a crafted RRDP snapshot.xml.

Remediation

Upgrade to quick-xml >= 0.41.0, where the duplicate check keeps the linear scan for start tags with a small number of attributes and switches to an O(1) hash pre-filter above a threshold, making the whole tag O(N). The reported AttrError::Duplicated positions are unchanged.

If upgrading is not possible and duplicate-name detection is not required, disable it with .attributes().with_checks(false) (this does not help NsReader consumers, which have no equivalent opt-out before 0.41.0).

References

Affected packages

Docker Hardened Images:Alpine:3.23
rust

Package

Name
rust
Purl
pkg:apk/dhi/rust

Affected ranges

Affected versions

1.*
1.91.1-r0
1.91.1-r2
1.91.1-r3
1.91.1-r4
1.93.1-r0
1.93.1-r1
1.94.0-r0
1.94.0-r1
1.94.1-r0
1.94.1-r1
1.95.0-r0
1.96.0-r0
1.96.1-r0
1.97.0-r0
1.97.0-r1
1.98.1-r0
1.99.0-r2
1.99.1-r0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
Docker Hardened Images:Alpine:3.24
gitlab-rails-18

Package

Name
gitlab-rails-18
Purl
pkg:apk/dhi/gitlab-rails-18

Affected ranges

Affected versions

18.*
18.11.11-r0
18.11.11-r1
18.11.11-r2
18.11.12-r0
18.11.12-r1
18.11.12-r2
18.11.12-r3
18.11.12-r4
18.11.14-r0
18.11.14-r1
18.11.14-r2
18.11.14-r3
18.11.14-r4
18.11.14-r5
18.11.14-r6
18.11.14-r7
18.11.14-r8
18.11.14-r9
18.11.14-r10
18.11.14-r11
18.11.14-r12
18.11.14-r13
18.11.14-r14

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
gitlab-rails-19

Package

Name
gitlab-rails-19
Purl
pkg:apk/dhi/gitlab-rails-19

Affected ranges

Affected versions

19.*
19.1.8-r0
19.1.8-r1
19.4.1-r0
19.4.1-r1
19.4.1-r2
19.4.1-r3
19.4.2-r0
19.5.3-r0
19.5.3-r1
19.5.3-r2
19.5.3-r3
19.5.3-r4
19.5.3-r5
19.5.3-r6
19.5.3-r7
19.5.3-r8
19.5.4-r0
19.5.4-r1
19.5.5-r0
19.5.5-r1
19.5.5-r2
19.5.6-r0
19.5.6-r1
19.6.0-r0
19.6.0-r1
19.6.1-r0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
Docker Hardened Images:Debian:13
gitlab-rails-18

Package

Name
gitlab-rails-18
Purl
pkg:deb/dhi/gitlab-rails-18

Affected ranges

Affected versions

18.*
18.11.11-0
18.11.11-1
18.11.11-2
18.11.12-0
18.11.12-1
18.11.12-2
18.11.14-0
18.11.14-1
18.11.14-2
18.11.14-3
18.11.14-4
18.11.14-5
18.11.14-6
18.11.14-7
18.11.14-8
18.11.14-9
18.11.14-10
18.11.14-11
18.11.14-12
18.11.14-13
18.11.14-14
18.11.14-15
18.11.14-16
18.11.14-17
18.11.14-18
18.11.14-19
18.11.14-20
18.11.14-21
18.11.14-22
18.11.14-23
18.11.14-24
18.11.14-25
18.11.14-26
18.11.14-27
18.11.14-28
18.11.14-29
18.11.14-30

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
gitlab-rails-19

Package

Name
gitlab-rails-19
Purl
pkg:deb/dhi/gitlab-rails-19

Affected ranges

Affected versions

19.*
19.1.8-0
19.1.8-1
19.4.1-0
19.4.1-1
19.4.1-2
19.4.2-0
19.5.3-0
19.5.3-1
19.5.3-2
19.5.3-3
19.5.3-4
19.5.3-5
19.5.3-6
19.5.3-7
19.5.3-8
19.5.3-9
19.5.4-0
19.5.4-1
19.5.5-0
19.5.5-1
19.5.5-2
19.5.5-3
19.5.5-4
19.5.5-5
19.5.5-6
19.5.5-7
19.5.5-8
19.5.5-9
19.5.5-10
19.5.5-11
19.5.6-0
19.5.6-1
19.5.6-2
19.5.6-3
19.5.6-4
19.5.6-5
19.6.0-0
19.6.0-1
19.6.0-2
19.6.1-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
influxdb3-3.10

Package

Name
influxdb3-3.10
Purl
pkg:deb/dhi/influxdb3-3.10

Affected ranges

Affected versions

3.*
3.10.6-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
influxdb3-3.11

Package

Name
influxdb3-3.11
Purl
pkg:deb/dhi/influxdb3-3.11

Affected ranges

Affected versions

3.*
3.11.8-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
influxdb3-3.12

Package

Name
influxdb3-3.12
Purl
pkg:deb/dhi/influxdb3-3.12

Affected ranges

Affected versions

3.*
3.12.2-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
milvus-3.0-fips-libs

Package

Name
milvus-3.0-fips-libs
Purl
pkg:deb/dhi/milvus-3.0-fips-libs

Affected ranges

Affected versions

3.*
3.0.1-1
3.0.2-0
3.0.2-1
3.0.2-2
3.0.2-3
3.0.2-4
3.0.3-0
3.0.5-0
3.0.5-1
3.0.5-2
3.0.6-0
3.0.6-1
3.0.6-2
3.0.6-3
3.0.6-4
3.0.6-5
3.0.6-6
3.0.6-7
3.0.6-8
3.0.6-9
3.0.6-10
3.0.6-11
3.0.6-12
3.0.6-13
3.0.6-14
3.0.6-15

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
milvus-3.0-fips

Package

Name
milvus-3.0-fips
Purl
pkg:deb/dhi/milvus-3.0-fips

Affected ranges

Affected versions

3.*
3.0.1-1
3.0.2-0
3.0.2-1
3.0.2-2
3.0.2-3
3.0.2-4
3.0.3-0
3.0.5-0
3.0.5-1
3.0.5-2
3.0.6-0
3.0.6-1
3.0.6-2
3.0.6-3
3.0.6-4
3.0.6-5
3.0.6-6
3.0.6-7
3.0.6-8
3.0.6-9
3.0.6-10
3.0.6-11
3.0.6-12
3.0.6-13
3.0.6-14
3.0.6-15

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
milvus-3.0-libs

Package

Name
milvus-3.0-libs
Purl
pkg:deb/dhi/milvus-3.0-libs

Affected ranges

Affected versions

3.*
3.0.1-1
3.0.2-0
3.0.2-1
3.0.2-2
3.0.2-3
3.0.2-4
3.0.3-0
3.0.5-0
3.0.5-1
3.0.5-2
3.0.6-0
3.0.6-1
3.0.6-2
3.0.6-3
3.0.6-4
3.0.6-5
3.0.6-6
3.0.6-7
3.0.6-8
3.0.6-9
3.0.6-10
3.0.6-11
3.0.6-12
3.0.6-13
3.0.6-14
3.0.6-15

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
milvus-3.0

Package

Name
milvus-3.0
Purl
pkg:deb/dhi/milvus-3.0

Affected ranges

Affected versions

3.*
3.0.1-1
3.0.2-0
3.0.2-1
3.0.2-2
3.0.2-3
3.0.2-4
3.0.3-0
3.0.5-0
3.0.5-1
3.0.5-2
3.0.6-0
3.0.6-1
3.0.6-2
3.0.6-3
3.0.6-4
3.0.6-5
3.0.6-6
3.0.6-7
3.0.6-8
3.0.6-9
3.0.6-10
3.0.6-11
3.0.6-12
3.0.6-13
3.0.6-14
3.0.6-15

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
miniconda3-26

Package

Name
miniconda3-26
Purl
pkg:deb/dhi/miniconda3-26

Affected ranges

Affected versions

26.*
26.7.1-1-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"
vector

Package

Name
vector
Purl
pkg:deb/dhi/vector

Affected ranges

Affected versions

0.*
0.58.0-0
0.59.0-0
0.60.0-0
0.61.0-0
0.62.0-0
0.62.0-1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5sov-dxuz-izqw-ojbm.json"