CWE-1047
Weakness ProhibitedModules with Circular Dependencies
Abstraction: Base · Status: Incomplete
The product contains modules in which one module has references that cycle back to itself, i.e., there are circular dependencies.
As an example, with Java, this weakness might indicate cycles between packages.
Mapping guidance
This entry is primarily a quality issue with no direct security implications.
Look for weaknesses that are focused specifically on insecure behaviors that have more direct security implications.
Modes of introduction
Detection methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Effectiveness: High
Content history
Entry derived from Common Quality Enumeration (CQE) Draft 0.9.
updated Relationships
updated Relationships
updated Description
updated References, Relationships
updated Mapping_Notes
updated Mapping_Notes
updated Applicable_Platforms, Common_Consequences, Description, Time_of_Introduction
updated Detection_Factors, References
1 vulnerability references this CWE, most recent first.
GHSA-488M-W9FP-5MM2
Vulnerability from github – Published: 2023-12-28 21:30 – Updated: 2024-11-18 16:26A flaw was found in Infinispan, which does not detect circular object references when unmarshalling. An authenticated attacker with sufficient permissions could insert a maliciously constructed object into the cache and use it to cause out of memory errors and achieve a denial of service.
{
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.infinispan.protostream:protostream"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.6.2.Final"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-5236"
],
"database_specific": {
"cwe_ids": [
"CWE-1047"
],
"github_reviewed": true,
"github_reviewed_at": "2024-09-16T21:37:34Z",
"nvd_published_at": "2023-12-18T14:15:10Z",
"severity": "HIGH"
},
"details": "A flaw was found in Infinispan, which does not detect circular object references when unmarshalling. An authenticated attacker with sufficient permissions could insert a maliciously constructed object into the cache and use it to cause out of memory errors and achieve a denial of service.",
"id": "GHSA-488m-w9fp-5mm2",
"modified": "2024-11-18T16:26:34Z",
"published": "2023-12-28T21:30:37Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5236"
},
{
"type": "WEB",
"url": "https://github.com/infinispan/protostream/commit/4501b6b307a6bab545346f66238f8be7e42f83eb"
},
{
"type": "WEB",
"url": "https://github.com/infinispan/protostream/commit/4ef66958f2c4890ae1c6a7acd629d27bd88aa4cb"
},
{
"type": "WEB",
"url": "https://github.com/infinispan/protostream/commit/50320b5987dc87bc04b616b87e8cf93472ee19c1"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2023:5396"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2023-5236"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2240999"
},
{
"type": "PACKAGE",
"url": "https://github.com/infinispan/infinispan"
},
{
"type": "WEB",
"url": "https://issues.redhat.com/browse/IPROTO-262"
},
{
"type": "WEB",
"url": "https://issues.redhat.com/browse/IPROTO-263"
},
{
"type": "WEB",
"url": "https://issues.redhat.com/browse/ISPN-14534"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240125-0004"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
}
],
"summary": "Infinispan circular object references causes out of memory errors"
}
No mitigation information available for this CWE.
No CAPEC attack patterns related to this CWE.