Publish Advisories

GHSA-88g2-r9rw-g55h
GHSA-cgrq-wvfj-v28j
GHSA-rpfr-3m35-5vx5
GHSA-vmwr-mc7x-5vc3
This commit is contained in:
advisory-database[bot]
2024-08-22 16:42:59 +00:00
parent 0001d9ebaa
commit ff4401e6c0
4 changed files with 263 additions and 6 deletions
File diff suppressed because one or more lines are too long
@@ -1,26 +1,53 @@
{
"schema_version": "1.4.0",
"id": "GHSA-cgrq-wvfj-v28j",
"modified": "2024-08-22T09:30:32Z",
"modified": "2024-08-22T16:41:45Z",
"published": "2024-08-22T09:30:32Z",
"aliases": [
"CVE-2024-8072"
],
"details": "Mage AI allows remote unauthenticated attackers to leak the terminal server command history of arbitrary users",
"summary": "Mage AI allows remote unauthenticated attackers to leak the terminal server command history of arbitrary users",
"details": "Mage AI allows remote unauthenticated attackers to leak the terminal server command history of arbitrary users.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "mage-ai"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.9.73"
}
]
}
]
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8072"
},
{
"type": "PACKAGE",
"url": "https://github.com/mage-ai/mage-ai"
},
{
"type": "WEB",
"url": "https://research.jfrog.com/vulnerabilities/mage-ai-terminal-server-infoleak-jfsa-2024-001039574"
@@ -28,11 +55,11 @@
],
"database_specific": {
"cwe_ids": [
"CWE-200"
],
"severity": "MODERATE",
"github_reviewed": false,
"github_reviewed_at": null,
"github_reviewed": true,
"github_reviewed_at": "2024-08-22T16:41:45Z",
"nvd_published_at": "2024-08-22T08:15:04Z"
}
}
@@ -0,0 +1,73 @@
{
"schema_version": "1.4.0",
"id": "GHSA-rpfr-3m35-5vx5",
"modified": "2024-08-22T16:41:08Z",
"published": "2024-08-22T16:41:08Z",
"aliases": [
"CVE-2024-43787"
],
"summary": "Hono CSRF middleware can be bypassed using crafted Content-Type header",
"details": "### Summary\n\nHono CSRF middleware can be bypassed using crafted Content-Type header.\n\n### Details\n\nMIME types are case insensitive, but `isRequestedByFormElementRe` only matches lower-case.\n\nhttps://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17\n\nAs a result, attacker can bypass csrf middleware using upper-case form-like MIME type, such as \"Application/x-www-form-urlencoded\".\n\n### PoC\n\n```html\n<html>\n <head>\n <title>CSRF Test</title>\n <script defer>\n document.addEventListener(\"DOMContentLoaded\", () => {\n document.getElementById(\"btn\").addEventListener(\"click\", async () => {\n const res = await fetch(\"http://victim.example.com/test\", {\n method: \"POST\",\n credentials: \"include\",\n headers: {\n \"Content-Type\": \"Application/x-www-form-urlencoded\",\n },\n });\n });\n });\n </script>\n </head>\n <body>\n <h1>CSRF Test</h1>\n <button id=\"btn\">Click me!</button>\n </body>\n</html>\n```\n\n### Impact\n\nBypass csrf protection implemented with hono csrf middleware.\n\n### Discussion\n\nI'm not sure that omitting csrf checks for Simple POST request is a good idea.\nCSRF prevention and CORS are different concepts even though CORS can prevent CSRF in some cases.\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "hono"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.5.8"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-43787"
},
{
"type": "WEB",
"url": "https://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449"
},
{
"type": "PACKAGE",
"url": "https://github.com/honojs/hono"
},
{
"type": "WEB",
"url": "https://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17"
}
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2024-08-22T16:41:08Z",
"nvd_published_at": "2024-08-22T15:15:16Z"
}
}
@@ -0,0 +1,73 @@
{
"schema_version": "1.4.0",
"id": "GHSA-vmwr-mc7x-5vc3",
"modified": "2024-08-22T16:40:47Z",
"published": "2024-08-22T16:40:46Z",
"aliases": [
"CVE-2024-43398"
],
"summary": "REXML denial of service vulnerability",
"details": "### Impact\n\nThe REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes.\n\nIf you need to parse untrusted XMLs with tree parser API like `REXML::Document.new`, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected.\n\n### Patches\n\nThe REXML gem 3.3.6 or later include the patch to fix the vulnerability.\n\n### Workarounds\n\nDon't parse untrusted XMLs with tree parser API.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "rexml"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3.6"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-43398"
},
{
"type": "WEB",
"url": "https://github.com/ruby/rexml/commit/7cb5eaeb221c322b9912f724183294d8ce96bae3"
},
{
"type": "PACKAGE",
"url": "https://github.com/ruby/rexml"
},
{
"type": "WEB",
"url": "https://github.com/ruby/rexml/releases/tag/v3.3.6"
}
],
"database_specific": {
"cwe_ids": [
"CWE-776"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2024-08-22T16:40:46Z",
"nvd_published_at": "2024-08-22T15:15:16Z"
}
}