Publish Advisories

GHSA-88h5-34xw-2q56
GHSA-w3mp-6vrj-875g
This commit is contained in:
advisory-database[bot]
2025-04-22 17:00:08 +00:00
parent 4b47c88212
commit 9fd4232bbb
2 changed files with 146 additions and 0 deletions
@@ -0,0 +1,73 @@
{
"schema_version": "1.4.0",
"id": "GHSA-88h5-34xw-2q56",
"modified": "2025-04-22T16:59:27Z",
"published": "2025-04-22T16:59:27Z",
"aliases": [
"CVE-2025-32960"
],
"summary": "XSS in the /files Endpoint of the Generic REST API",
"details": "### Impact\n\nThe input parameter, which consists of a file path and name, can be manipulated to return the Content-Type header with text/html if the name part ends with .html. This could allow malicious JavaScript code to be executed in the browser. For a successful attack, a malicious file needs to be uploaded beforehand.\n\nThe severity of the vulnerability is mitigated by the fact that the application UI and the generic REST API are typically accessible only to authenticated users.\n\n### Patches\n\nThe problem has been fixed in CUBA REST API add-on 7.2.7.\n\n### Workarounds\n\nA workaround for those who are unable to upgrade: [Disable Files Endpoint in CUBA Application](https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application).\n\n### References\n\n[Files Functionality Vulnerabilities :: Jmix Documentation](https://docs.jmix.io/jmix/files-vulnerabilities.html)\n\nSimilar vulnerability in Jmix: [XSS in the /files Endpoint of the Generic REST API · Advisory · jmix-framework/jmix](https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93)",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "com.haulmont.addon.restapi:restapi-rest-api"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.2.7"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/cuba-platform/restapi/security/advisories/GHSA-88h5-34xw-2q56"
},
{
"type": "WEB",
"url": "https://github.com/jmix-framework/jmix/security/advisories/GHSA-x27v-f838-jh93"
},
{
"type": "WEB",
"url": "https://github.com/cuba-platform/restapi/commit/b3d599f6657d7e212fdb134a61ab5e0888669eb1"
},
{
"type": "WEB",
"url": "https://docs.jmix.io/jmix/files-vulnerabilities.html"
},
{
"type": "WEB",
"url": "https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application"
},
{
"type": "PACKAGE",
"url": "https://github.com/cuba-platform/restapi"
}
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2025-04-22T16:59:27Z",
"nvd_published_at": null
}
}
@@ -0,0 +1,73 @@
{
"schema_version": "1.4.0",
"id": "GHSA-w3mp-6vrj-875g",
"modified": "2025-04-22T16:57:36Z",
"published": "2025-04-22T16:57:36Z",
"aliases": [
"CVE-2025-32959"
],
"summary": "Cuba has a DoS in the File Storage",
"details": "### Impact\n\nThe local file storage implementation does not restrict the size of uploaded files. An attacker could exploit this by uploading excessively large files, potentially causing the server to run out of space and return HTTP 500 error, resulting in a denial of service.\n\nThe severity of the vulnerability is mitigated by the fact that the application UI and the generic REST API are typically accessible only to authenticated users.\n\n### Patches\n\nThe problem has been fixed in CUBA 7.2.23.\n\n### Workarounds\n\nA workaround for those who are unable to upgrade: [Disable Files Endpoint in CUBA Application](https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application).\n\n### References\n\n[Files Functionality Vulnerabilities :: Jmix Documentation](https://docs.jmix.io/jmix/files-vulnerabilities.html)\n\nSimilar vulnerability in Jmix: [DoS in the Local File Storage · Advisory · jmix-framework/jmix](https://github.com/jmix-framework/jmix/security/advisories/GHSA-f3gv-cwwh-758m)",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "com.haulmont.cuba:cuba-core"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.2.23"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/cuba-platform/cuba/security/advisories/GHSA-w3mp-6vrj-875g"
},
{
"type": "WEB",
"url": "https://github.com/jmix-framework/jmix/security/advisories/GHSA-f3gv-cwwh-758m"
},
{
"type": "WEB",
"url": "https://github.com/cuba-platform/cuba/commit/42b6c00fd0572b8e52ae31afd1babc827a3161a1"
},
{
"type": "WEB",
"url": "https://docs.jmix.io/jmix/files-vulnerabilities.html"
},
{
"type": "WEB",
"url": "https://docs.jmix.io/jmix/files-vulnerabilities.html#disable-files-endpoint-in-cuba-application"
},
{
"type": "PACKAGE",
"url": "https://github.com/cuba-platform/cuba"
}
],
"database_specific": {
"cwe_ids": [
"CWE-770"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2025-04-22T16:57:36Z",
"nvd_published_at": null
}
}