DHI-2oui-gugh-6m7h-of2s

Source
https://scout.docker.com/v/DHI-2oui-gugh-6m7h-of2s
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-2oui-gugh-6m7h-of2s.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-2oui-gugh-6m7h-of2s
Upstream
Published
2026-11-10T14:42:37Z
Modified
2026-11-21T14:30:05Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N CVSS Calculator
Summary
CarrierWave is a framework to upload files from Ruby applications. In versions prior to 2.2.7 and 3.1.3, the…
Details

CarrierWave is a framework to upload files from Ruby applications. In versions prior to 2.2.7 and 3.1.3, the content_type_denylist check fails to escape regex metacharacters in string entries, causing the denylist to silently not match the content types it is intended to block. In lib/carrierwave/uploader/content_type_denylist.rb:57, denylist entries are interpolated directly into a regex without Regexp.quote or anchoring, so an entry such as image/svg+xml becomes the pattern /image/svg+xml/, in which + is treated as a quantifier rather than a literal character and therefore never matches the real MIME type image/svg+xml. This is inconsistent with the allowlist implementation, which correctly applies both Regexp.quote and a \A anchor. Other content types containing regex metacharacters, such as application/xhtml+xml, are affected as well. As a result, any application that relies on content_type_denylist to block image/svg+xml, most commonly to prevent stored XSS, is silently unprotected. An attacker can upload an SVG file containing arbitrary JavaScript; if the application serves that SVG inline from its own origin, the script executes in the victim's browser, resulting in stored XSS. This issue has been fixed in versions 2.2.7 and 3.1.3.

References

Affected packages

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
18.11.14-r15

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-2oui-gugh-6m7h-of2s.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
19.6.1-r1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-2oui-gugh-6m7h-of2s.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
18.11.14-31
18.11.14-32

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-2oui-gugh-6m7h-of2s.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
19.6.1-1
19.6.1-2

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-2oui-gugh-6m7h-of2s.json"