Publish Advisories

GHSA-36gq-35j3-p9r9
GHSA-f8c8-4pm7-w885
This commit is contained in:
advisory-database[bot]
2025-01-21 20:25:48 +00:00
parent addc8fb494
commit 53618a690b
2 changed files with 134 additions and 0 deletions
@@ -0,0 +1,73 @@
{
"schema_version": "1.4.0",
"id": "GHSA-36gq-35j3-p9r9",
"modified": "2025-01-21T20:24:02Z",
"published": "2025-01-21T20:24:02Z",
"aliases": [
"CVE-2024-10846"
],
"summary": "Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop",
"details": "### Impact\nThe `compose-go` library component in versions `v2.10-v2.4.0` allows an authorized user who sends malicious YAML payloads to cause the `compose-go` to consume excessive amount of Memory and CPU cycles while parsing YAML, such as used by Docker Compose from versions ` v2.27.0` to `v2.29.7` included\n\n### Patches\ncompose-go `v2.24.1` fixed the issue\n\n### Workarounds\nThere isn't any known workaround.\n\n### References\n* https://github.com/docker/compose/issues/12235\n* https://github.com/compose-spec/compose-go/pull/703\n\n* https://github.com/compose-spec/compose-go/pull/618\n* https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R10\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/compose-spec/compose-go/v2"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.1.0"
},
{
"fixed": "2.4.1"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9"
},
{
"type": "WEB",
"url": "https://github.com/docker/compose/issues/12235"
},
{
"type": "WEB",
"url": "https://github.com/compose-spec/compose-go/pull/618"
},
{
"type": "WEB",
"url": "https://github.com/compose-spec/compose-go/pull/703"
},
{
"type": "WEB",
"url": "https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R10"
},
{
"type": "PACKAGE",
"url": "https://github.com/compose-spec/compose-go"
}
],
"database_specific": {
"cwe_ids": [
"CWE-400"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2025-01-21T20:24:02Z",
"nvd_published_at": null
}
}
@@ -0,0 +1,61 @@
{
"schema_version": "1.4.0",
"id": "GHSA-f8c8-4pm7-w885",
"modified": "2025-01-21T20:25:05Z",
"published": "2025-01-21T20:25:05Z",
"aliases": [
"CVE-2024-53829"
],
"summary": "Cross-Site Request Forgery in CodeChecker API",
"details": "### Summary\nCross-site request forgery allows an unauthenticated attacker to hijack the authentication of a logged in user, and use the web API with the same permissions.\n\n### Details\nSecurity attributes like HttpOnly and SameSite are missing from the session cookie, allowing its use from XHR requests and form submissions.\nThe CodeChecker API endpoints only require the session cookie, they do not require a CSRF token, and missing HTTP headers allow the form submission to succeed (but not XHR). This means that the attacker needs to know the ID of products to edit or delete them, but it does not need knowledge to create new products with the SQLite backend.\n\n### PoC\nWith a superuser logged into CodeChecker.\n\n```html\n<html><body>\n <form action=\"https://codechecker.example.com/v6.58/Products\" method=\"POST\" enctype=\"text/plain\">\n <input type=\"text\" name='[1,\"getProducts\",1,1,{}]' value=''>\n </form>\n <script>document.forms[0].submit()</script>\n</body></html>\n```\nOr the same form attack on any of the applicable endpoints.\n\n### Impact\nThe vulnerability allows an attacker to make requests to CodeChecker as the currently logged in user, including but not limited to adding, removing or editing products. The attacker needs to know the ID of the available products to modify or delete them. The attacker cannot directly exfiltrate data from CodeChecker, due to being limited to form-based CSRF.\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N"
}
],
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "codechecker"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.24.5"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/Ericsson/codechecker/security/advisories/GHSA-f8c8-4pm7-w885"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-53829"
},
{
"type": "PACKAGE",
"url": "https://github.com/Ericsson/codechecker"
}
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2025-01-21T20:25:05Z",
"nvd_published_at": "2025-01-21T15:15:13Z"
}
}