mirror of
https://github.com/netbirdio/advisory-database.git
synced 2026-05-22 18:04:22 -07:00
Publish Advisories
GHSA-8fx9-5hx8-crhm GHSA-wf2x-8w6j-qw37
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"schema_version": "1.4.0",
|
||||
"id": "GHSA-8fx9-5hx8-crhm",
|
||||
"modified": "2022-04-26T18:59:36Z",
|
||||
"modified": "2024-01-04T21:54:05Z",
|
||||
"published": "2018-10-16T19:35:40Z",
|
||||
"aliases": [
|
||||
"CVE-2017-12611"
|
||||
],
|
||||
"summary": "Apache Struts 2.0.1 uses an unintentional expression in a Freemarker tag instead of string literal",
|
||||
"details": "In Apache Struts 2.0.1 through 2.3.33 and 2.5 through 2.5.10, using an unintentional expression in a Freemarker tag instead of string literals can lead to a RCE attack.",
|
||||
"details": "In Apache Struts 2.0.1 through 2.3.33 and 2.5 through 2.5.10.1, using an unintentional expression in a Freemarker tag instead of string literals can lead to a RCE attack.",
|
||||
"severity": [
|
||||
{
|
||||
"type": "CVSS_V3",
|
||||
@@ -50,13 +50,13 @@
|
||||
"introduced": "2.5.0"
|
||||
},
|
||||
{
|
||||
"fixed": "2.5.12"
|
||||
"fixed": "2.5.11"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"database_specific": {
|
||||
"last_known_affected_version_range": "<= 2.5.10"
|
||||
"last_known_affected_version_range": "<= 2.5.10.1"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -66,8 +66,16 @@
|
||||
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12611"
|
||||
},
|
||||
{
|
||||
"type": "ADVISORY",
|
||||
"url": "https://github.com/advisories/GHSA-8fx9-5hx8-crhm"
|
||||
"type": "WEB",
|
||||
"url": "https://github.com/apache/struts/commit/2306f5f7fad7f0157f216f34331238feb0539fa"
|
||||
},
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "https://github.com/apache/struts/commit/637ad1c3707266c33daabb18d7754e795e6681f"
|
||||
},
|
||||
{
|
||||
"type": "PACKAGE",
|
||||
"url": "https://github.com/apache/struts"
|
||||
},
|
||||
{
|
||||
"type": "WEB",
|
||||
@@ -77,6 +85,10 @@
|
||||
"type": "WEB",
|
||||
"url": "https://struts.apache.org/docs/s2-053.html"
|
||||
},
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "https://web.archive.org/web/20170923161654/http://www.securityfocus.com/bid/100829"
|
||||
},
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-003.txt"
|
||||
@@ -84,10 +96,6 @@
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html"
|
||||
},
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "http://www.securityfocus.com/bid/100829"
|
||||
}
|
||||
],
|
||||
"database_specific": {
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"schema_version": "1.4.0",
|
||||
"id": "GHSA-wf2x-8w6j-qw37",
|
||||
"modified": "2024-01-04T21:54:34Z",
|
||||
"published": "2024-01-04T21:54:34Z",
|
||||
"aliases": [
|
||||
"CVE-2024-21636"
|
||||
],
|
||||
"summary": "view_component Cross-site Scripting vulnerability",
|
||||
"details": "### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nThis is an XSS vulnerability that has the potential to impact anyone rendering a component directly from a controller with the view_component gem. Note that only components that define a [`#call` method](https://viewcomponent.org/guide/templates.html#call) (i.e. instead of using a sidecar template) are affected. The return value of the `#call` method is not sanitized and can include user-defined content.\n\nIn addition, the return value of the [`#output_postamble` method](https://viewcomponent.org/api.html#output_postamble--string) is not sanitized, which can also lead to XSS issues.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nVersions 3.9.0 has been released and fully mitigates both the `#call` and the `#output_postamble` vulnerabilities.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nSanitize the return value of `#call`, eg:\n\n```ruby\nclass MyComponent < ApplicationComponent\n def call\n html_escape(\"<div>#{user_input}</div>\")\n end\nend\n```\n\n### References\n_Are there any links users can visit to find out more?_\n\nhttps://github.com/ViewComponent/view_component/pull/1950\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\nOpen an issue in the [github/view_component](https://github.com/github/view_component) project.",
|
||||
"severity": [
|
||||
{
|
||||
"type": "CVSS_V3",
|
||||
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
|
||||
}
|
||||
],
|
||||
"affected": [
|
||||
{
|
||||
"package": {
|
||||
"ecosystem": "RubyGems",
|
||||
"name": "view_component"
|
||||
},
|
||||
"ranges": [
|
||||
{
|
||||
"type": "ECOSYSTEM",
|
||||
"events": [
|
||||
{
|
||||
"introduced": "0"
|
||||
},
|
||||
{
|
||||
"fixed": "3.9.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "https://github.com/ViewComponent/view_component/security/advisories/GHSA-wf2x-8w6j-qw37"
|
||||
},
|
||||
{
|
||||
"type": "ADVISORY",
|
||||
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21636"
|
||||
},
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "https://github.com/ViewComponent/view_component/pull/1950"
|
||||
},
|
||||
{
|
||||
"type": "WEB",
|
||||
"url": "https://github.com/ViewComponent/view_component/commit/0d26944a8d2730ea40e60eae23d70684483e5017"
|
||||
},
|
||||
{
|
||||
"type": "PACKAGE",
|
||||
"url": "https://github.com/ViewComponent/view_component"
|
||||
}
|
||||
],
|
||||
"database_specific": {
|
||||
"cwe_ids": [
|
||||
"CWE-79"
|
||||
],
|
||||
"severity": "MODERATE",
|
||||
"github_reviewed": true,
|
||||
"github_reviewed_at": "2024-01-04T21:54:34Z",
|
||||
"nvd_published_at": "2024-01-04T20:15:25Z"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user