IBM Support

Security Bulletin: IBM MQ Operator and Queue manager container images are vulnerable to gcc, github.com/opencontainers/runc and github.com/containers/common (CVE-2024-45310, CVE-2020-11023, CVE-2024-9341)

Security Bulletin


Summary

gcc, github.com/opencontainers/runc and github.com/containers/common used by IBM MQ Operator and Queue Manager container images are vulnerable by executing untrusted code using jQuery's DOM manipulation methods and bypassing security restrictions which might allow an attacker to access criticial host files. This bulletin identifies the steps required to address these vulnerabilities.

Vulnerability Details

CVEID:   CVE-2024-45310
DESCRIPTION:   runc is a CLI tool for spawning and running containers according to the OCI specification. runc 1.1.13 and earlier, as well as 1.2.0-rc2 and earlier, can be tricked into creating empty files or directories in arbitrary locations in the host filesystem by sharing a volume between two containers and exploiting a race with `os.MkdirAll`. While this could be used to create empty files, existing files would not be truncated. An attacker must have the ability to start containers using some kind of custom volume configuration. Containers using user namespaces are still affected, but the scope of places an attacker can create inodes can be significantly reduced. Sufficiently strict LSM policies (SELinux/Apparmor) can also in principle block this attack -- we suspect the industry standard SELinux policy may restrict this attack's scope but the exact scope of protection hasn't been analysed. This is exploitable using runc directly as well as through Docker and Kubernetes. The issue is fixed in runc v1.1.14 and v1.2.0-rc3. Some workarounds are available. Using user namespaces restricts this attack fairly significantly such that the attacker can only create inodes in directories that the remapped root user/group has write access to. Unless the root user is remapped to an actual user on the host (such as with rootless containers that don't use `/etc/sub[ug]id`), this in practice means that an attacker would only be able to create inodes in world-writable directories. A strict enough SELinux or AppArmor policy could in principle also restrict the scope if a specific label is applied to the runc runtime, though neither the extent to which the standard existing policies block this attack nor what exact policies are needed to sufficiently restrict this attack have been thoroughly tested.
CWE:   CWE-61: UNIX Symbolic Link (Symlink) Following
CVSS Source:   CVE.org
CVSS Base score:   3.6
CVSS Vector:   (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N)

CVEID:   CVE-2020-11023
DESCRIPTION:   In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, passing HTML containing <option> elements from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.
CWE:   CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSS Source:   NVD
CVSS Base score:   6.1
CVSS Vector:   (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

CVEID:   CVE-2024-9341
DESCRIPTION:   Containers common could allow a remote authenticated attacker to bypass security restrictions, caused by a flaw when FIPS mode is enabled in Go library. By using a specially crafted symbolic links, an attacker could exploit this vulnerability to bypass intended isolation between containers and the host system and gain access critical host files.
CWE:   CWE-59: Improper Link Resolution Before File Access ('Link Following')
CVSS Source:   Red Hat
CVSS Base score:   5.4
CVSS Vector:   (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N)

Affected Products and Versions

Affected Product(s)Version(s)
IBM MQ Operator

SC2: v3.2.0 - v3.2.9
CD:  v3.0.0, v3.0.1, v3.1.0 - 3.1.3, v3.3.0, v3.4.0, v3.4.1, v3.5.0

LTS: v2.0.0 - 2.0.29

Other Release: v2.4.0 - v2.4.8, v2.3.0 - 2.3.3, v2.2.0 - v2.2.2

IBM supplied MQ Advanced container images

CD: 9.3.4.0-r1, 9.3.4.1-r1, 9.3.5.0-r1, 9.3.5.0-r2, 9.3.5.1-r1, 9.3.5.1-r2, 9.4.1.0-r1, 9.4.1.0-r2, 9.4.1.1-r1, 9.4.2.0-r1

LTS: 9.2.0.1-r1-eus, 9.2.0.2-r1-eus, 9.2.0.2-r2-eus, 9.2.0.4-r1-eus, 9.2.0.5-r1-eus, 
9.2.0.5-r2-eus, 9.2.0.5-r3-eus, 9.2.0.6-r1-eus, 9.2.0.6-r2-eus, 9.2.0.6-r3-eus, 9.2.3.0-r1, 
9.2.4.0-r1, 9.2.5.0-r1, 9.2.5.0-r2, 9.2.5.0-r3, 9.3.0.0-r1, 9.3.0.0-r2, 9.3.0.0-r3, 9.3.0.1-r1, 
9.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ioned by this security bulletin are addressed in -

  • IBM MQ Operator v3.5.1 CD release that included IBM supplied MQ Advanced 9.4.2.0-r2 container image. 
  • IBM MQ Operator v3.2.10 SC2 release that included IBM supplied MQ Advanced 9.4.0.10-r2 container image.
  • IBM MQ Container 9.4.2.0-r2 release.

IBM strongly recommends applying the latest container images. 

 

IBM MQ Operator v3.5.1 CD release details:

Image

Fix Version

Registry

Image Location

ibm-mq-operator

v3.5.1

icr.io

icr.io/cpopen/ibm-mq-operator@sha256:65c4937f0729704281d914eb5c8bfe9b418f606da5c1c38d993b6590a5bfe64b

ibm-mqadvanced-server

9.4.2.0-r2

cp.icr.io

cp.icr.io/cp/ibm-mqadvanced-server@sha256:dea505d8bb3d9f9a1d6fb2139550623ecdbd3cc3cad1a0b45c6e0eed2d03fda1

ibm-mqadvanced-server-integration

9.4.2.0-r2

cp.icr.io

cp.icr.io/cp/ibm-mqadvanced-server-integration@sha256:cccecabd1dd9870a7cbb3fdefe07840e865e252772ceda6e6709665e67d46f80

ibm-mqadvanced-server-dev

9.4.2.0-r2

icr.io

icr.io/ibm-messaging/ibm-mqadvanced-server-dev@sha256:7cf83c0a864d1d96a976588f3b0f16c203b8d09b0600649b1ed81d6f29a18dd9


IBM MQ Operator v3.2.10 SC2 release details:

Image

Fix Version

Registry

Image Location

ibm-mq-operator

v3.2.10

icr.io

icr.io/cpopen/ibm-mq-operator@sha256:ca0c2cb91f8fc56f956f81f4576f19035d78e797050fbe3b3f822c03ae1a0386

ibm-mqadvanced-server

9.4.0.10-r2

cp.icr.io

cp.icr.io/cp/ibm-mqadvanced-server@sha256:198fc4fc39829c66aca7cc5d7099442ccc2d4e1ad3b78f146127baa2295f170f

ibm-mqadvanced-server-integration

9.4.0.10-r2

cp.icr.io

cp.icr.io/cp/ibm-mqadvanced-server-integration@sha256:c4f17a165103d3fbbcb682beab9bf7f8eed12b00468c09929ed6bf45ec04362b

ibm-mqadvanced-server-dev

9.4.0.10-r2

icr.io

icr.io/ibm-messaging/ibm-mqadvanced-server-dev@sha256:7149816f3bd4ef7472d5516eb323d87bed898fc00056a36a670dcff171255319

 

IBM MQ Container 9.4.2.0-r2 release details:

Image

Fix Version

Registry

Image Location

ibm-mqadvanced-server

9.4.2.0-r2

cp.icr.io

cp.icr.io/cp/ibm-mqadvanced-server@sha256:dea505d8bb3d9f9a1d6fb2139550623ecdbd3cc3cad1a0b45c6e0eed2d03fda1

ibm-mqadvanced-server-dev

9.4.2.0-r2

icr.io

icr.io/ibm-messaging/ibm-mqadvanced-server-dev@sha256:7cf83c0a864d1d96a976588f3b0f16c203b8d09b0600649b1ed81d6f29a18dd9

Workarounds and Mitigations

None

Get Notified about Future Security Bulletins

References

Off

Acknowledgement

Change History

25 Mar 2025: Initial Publication

*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.

Disclaimer

According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES ""AS IS"" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY. In addition to other efforts to address potential vulnerabilities, IBM periodically updates the record of components contained in our product offerings. As part of that effort, if IBM identifies previously unidentified packages in a product/service inventory, we address relevant vulnerabilities regardless of CVE date. Inclusion of an older CVEID does not demonstrate that the referenced product has been used by IBM since that date, nor that IBM was aware of a vulnerability as of that date. We are making clients aware of relevant vulnerabilities as we become aware of them. "Affected Products and Versions" referenced in IBM Security Bulletins are intended to be only products and versions that are supported by IBM and have not passed their end-of-support or warranty date. Thus, failure to reference unsupported or extended-support products and versions in this Security Bulletin does not constitute a determination by IBM that they are unaffected by the vulnerability. Reference to one or more unsupported versions in this Security Bulletin shall not create an obligation for IBM to provide fixes for any unsupported or extended-support products or versions.

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFE2G","label":"IBM MQ container software"},"Component":"","Platform":[{"code":"PF040","label":"RedHat OpenShift"}],"Version":"IBM MQ Operator v3.5.1, IBM MQ Operator v3.2.10, IBM MQ Container 9.4.2.0-r2","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Document Information

Modified date:
25 March 2025

UID

ibm17228945