xen: libxl fails to honour readonly flag on HVM emulated SCSI disks
Published Jul 2, 2018
9.9
CRITICALCVSS 3.0
EPSS 2.52%
Description
An issue was discovered in Xen 4.7 through 4.10.x. libxl fails to pass the readonly flag to qemu when setting up a SCSI disk, due to what was probably an erroneous merge conflict resolution. Malicious guest administrators or (in some situations) users may be able to write to supposedly read-only disk images. Only emulated SCSI disks (specified as "sd" in the libxl disk configuration, or an equivalent) are affected. IDE disks ("hd") are not affected (because attempts to make them readonly are rejected). Additionally, CDROM devices (that is, devices specified to be presented to the guest as CDROMs, regardless of the nature of the backing storage on the host) are not affected; they are always read only. Only systems using qemu-xen (rather than qemu-xen-traditional) as the device model version are vulnerable. Only systems using libxl or libxl-based toolstacks are vulnerable. (This includes xl, and libvirt with the libxl driver.) The vulnerability is present in Xen versions 4.7 and later. (In earlier versions, provided that the patch for XSA-142 has been applied, attempts to create read only disks are rejected.) If the host and guest together usually support PVHVM, the issue is exploitable only if the malicious guest administrator has control of the guest kernel or guest kernel command line.
Affected products
No data.
Configuration 1
- 9.0
No data.
Red Hat Enterprise Linux 5
xen
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | xen | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
AV:N/AC:L/Au:S/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.52% (0.02521) | 84.29th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.55% (0.02554) | 82.96th | v5 (v2026.06.15) |
| Mar 30, 2025 | 3.21% (0.03206) | 85.86th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.15% (0.06147) | 84.27th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.21% (0.03206) | 86.16th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.74% (0.00742) | 81.08th | v3 (v2023.03.01) |
| Jun 12, 2024 | 0.74% (0.00742) | 80.91th | v3 (v2023.03.01) |
| Jan 26, 2024 | 0.74% (0.00742) | 78.91th | v3 (v2023.03.01) |
| Jan 2, 2024 | 1.05% (0.01050) | 82.36th | v3 (v2023.03.01) |
| Nov 23, 2023 | 1.48% (0.01479) | 85.34th | v3 (v2023.03.01) |
| Jun 26, 2023 | 1.84% (0.01840) | 86.61th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.33% (0.01330) | 83.93th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.03% (0.01034) | 39.91th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.03% (0.01034) | 37.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.03% (0.01034) | 20.32th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.45% (0.01454) | 32.67th | v1 |
| Jan 6, 2022 | 1.45% (0.01454) | 31.96th | v1 |
| Sep 1, 2021 | 1.45% (0.01454) | 71.88th | v1 |
| Apr 14, 2021 | 1.45% (0.01454) | 0.00th | v1 |
References (10)
- http://www.openwall.com/lists/oss-security/2018/06/27/12 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/104571 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041203 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://xenbits.xen.org/xsa/advisory-266.html x_refsource_CONFIRMVendor Advisory
- https://access.redhat.com/security/cve/CVE-2018-12892 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1590984 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2018-12892
- https://security.gentoo.org/glsa/201810-06 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-12892
- https://www.debian.org/security/2018/dsa-4236 vendor-advisoryx_refsource_DEBIANThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2018/06/27/12 | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| http://www.securityfocus.com/bid/104571 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| http://www.securitytracker.com/id/1041203 | vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry | |
| http://xenbits.xen.org/xsa/advisory-266.html | x_refsource_CONFIRMVendor Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-12892 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1590984 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-12892 | ||
| https://security.gentoo.org/glsa/201810-06 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-12892 | ||
| https://www.debian.org/security/2018/dsa-4236 | vendor-advisoryx_refsource_DEBIANThird Party Advisory |
Change history (0)
No recorded changes yet.