CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.8). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2023-3899 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-3899?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-3899?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-3899 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat Enterprise Linux 7 | 0:1.24.52-2.el7_9 |
| Red Hat Enterprise Linux 8 | 0:1.28.36-3.el8_8 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | 0:1.25.17.1-2.el8_1 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:1.26.22-2.el8_2 |
| Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 0:1.26.22-2.el8_2 |
| Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | 0:1.26.22-2.el8_2 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:1.28.13-7.el8_4 |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 0:1.28.13-7.el8_4 |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 0:1.28.13-7.el8_4 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | 0:1.28.29.1-2.el8_6 |
| Red Hat Enterprise Linux 9 | 0:1.29.33.1-2.el9_2 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | 0:1.29.26.2-2.el9_0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | rhsm-gtk, python-syspurpose, subscription-manager and 9 more | 0:1.24.52-2.el7_9 | RHSA-2023:4701 |
| Red Hat | enterprise_linux:7::computenode | rhsm-gtk, subscription-manager-gui, subscription-manager-cockpit and 3 more | 0:1.24.52-2.el7_9 | RHSA-2023:4701 |
| Red Hat | enterprise_linux:8::appstream | rhsm-gtk, subscription-manager-debuginfo, subscription-manager-migration and 4 more | 0:1.28.36-3.el8_8 | RHSA-2023:4706 |
| Red Hat | enterprise_linux:8::baseos | rhsm-icons, python3-cloud-what, python3-syspurpose and 10 more | 0:1.28.36-3.el8_8 | RHSA-2023:4706 |
| Red Hat | enterprise_linux:9::baseos | python3-cloud-what, subscription-manager, subscription-manager-debuginfo and 6 more | 0:1.29.33.1-2.el9_2 | RHSA-2023:4708 |
| Red Hat | rhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstream | rhsm-gtk, subscription-manager-debuginfo, subscription-manager-migration and 4 more | 0:1.26.22-2.el8_2 | RHSA-2023:4703 |
| Red Hat | rhel_aus:8.2::baseos, rhel_e4s:8.2::baseos, rhel_tus:8.2::baseos | rhsm-icons, python3-syspurpose, subscription-manager and 9 more | 0:1.26.22-2.el8_2 | RHSA-2023:4703 |
| Red Hat | rhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstream | rhsm-gtk, subscription-manager-debuginfo, subscription-manager-migration and 4 more | 0:1.28.13-7.el8_4 | RHSA-2023:4704 |
| Red Hat | rhel_aus:8.4::baseos, rhel_e4s:8.4::baseos, rhel_tus:8.4::baseos | rhsm-icons, python3-syspurpose, subscription-manager and 9 more | 0:1.28.13-7.el8_4 | RHSA-2023:4704 |
| Red Hat | rhel_e4s:8.1::appstream | rhsm-gtk, subscription-manager-debuginfo, subscription-manager-migration and 4 more | 0:1.25.17.1-2.el8_1 | RHSA-2023:4702 |
| Red Hat | rhel_e4s:8.1::baseos | python3-syspurpose, subscription-manager, subscription-manager-cockpit and 9 more | 0:1.25.17.1-2.el8_1 | RHSA-2023:4702 |
| Red Hat | rhel_eus:8.6::appstream | rhsm-gtk, subscription-manager-debuginfo, subscription-manager-migration and 4 more | 0:1.28.29.1-2.el8_6 | RHSA-2023:4705 |
| 2 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | python3-cloud-what, python3-syspurpose, subscription-manager and 5 more | 1.28.36-3.el8_8.alma.1 | ALSA-2023:4706 |
| AlmaLinux | 9 | python3-cloud-what, subscription-manager, python3-subscription-manager-rhsm and 2 more | 1.29.33.1-2.el9_2.alma.1 | ALSA-2023:4708 |
| Rocky Linux | 8 | subscription-manager | 0:1.28.36-3.el8_8.rocky.0.1 | RLSA-2023:4706 |
| Rocky Linux | 9 | subscription-manager | 0:1.29.33.1-2.el9_2.rocky.0.1 | RLSA-2023:4708 |
| Azure Linux | 2 | subscription-manager | no fix listed | AZL-28099 |
| Azure Linux | 3 | subscription-manager | no fix listed | AZL-37046 |
From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.
Red Hat rates this Important.
The vulnerable method SetAll() allows the non-root user to Local Privilege Escalation. The vulnerable method is present since subscription-manager-1.26.15-1. Currently, RHEL-8.2. and above contains the vulnerable code.
However, before the SetAll() was introduced, the worst thing that could happen is to unregister the system and cut off system from updates. No privilege escalation is possible in RHEL-7.9, and RHEL-8.1 as those streams ships subscription-manager-1.25.17.1-1 and prior. Making it Moderate issue for those streams.
So, the vulnerability has always been there, the SetAll() method that introduced with later version in subscription-manager turned it to a to Local Privilege Escalation.
A workaround is to mask rhsm.service using:
~~~
systemctl mask rhsm.service
~~~
When the rhsm.service is masked, then no D-Bus call cannot trigger the service and all D-Bus calls will be terminated with error: "Call failed: Could not activate remote peer." But then all applications using D-Bus API will not work until you unmask the service using: "systemctl unmask rhsm.service"
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | subscription-manager-0:1.24.52-2.el7_9 | Fixed 2023-08-22 | RHSA-2023:4701 |
| Red Hat Enterprise Linux 8 | subscription-manager-0:1.28.36-3.el8_8 | Fixed 2023-08-22 | RHSA-2023:4706 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | subscription-manager-0:1.25.17.1-2.el8_1 | Fixed 2023-08-22 | RHSA-2023:4702 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | subscription-manager-0:1.26.22-2.el8_2 | Fixed 2023-08-22 | RHSA-2023:4703 |
| Red Hat Enterprise Linux 8.2 Telecommunications Update Service | subscription-manager-0:1.26.22-2.el8_2 | Fixed 2023-08-22 | RHSA-2023:4703 |
| Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | subscription-manager-0:1.26.22-2.el8_2 | Fixed 2023-08-22 | RHSA-2023:4703 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | subscription-manager-0:1.28.13-7.el8_4 | Fixed 2023-08-22 | RHSA-2023:4704 |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | subscription-manager-0:1.28.13-7.el8_4 | Fixed 2023-08-22 | RHSA-2023:4704 |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | subscription-manager-0:1.28.13-7.el8_4 | Fixed 2023-08-22 | RHSA-2023:4704 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | subscription-manager-0:1.28.29.1-2.el8_6 | Fixed 2023-08-22 | RHSA-2023:4705 |
| Red Hat Enterprise Linux 9 | subscription-manager-0:1.29.33.1-2.el9_2 | Fixed 2023-08-22 | RHSA-2023:4708 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | subscription-manager-0:1.29.26.2-2.el9_0 | Fixed 2023-08-22 | RHSA-2023:4707 |
| Red Hat Enterprise Linux 6 | subscription-manager | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-3899.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-285 (16).