2024-02-28 21:00:28 +00:00
{
"id" : "CVE-2024-27285" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2024-02-28T20:15:41.940" ,
2025-02-14 17:03:58 +00:00
"lastModified" : "2025-02-14T15:31:24.213" ,
"vulnStatus" : "Analyzed" ,
2024-07-14 02:06:08 +00:00
"cveTags" : [ ] ,
2024-02-28 21:00:28 +00:00
"descriptions" : [
{
"lang" : "en" ,
2024-03-01 19:00:59 +00:00
"value" : "YARD is a Ruby Documentation tool. The \"frames.html\" file within the Yard Doc's generated documentation is vulnerable to Cross-Site Scripting (XSS) attacks due to inadequate sanitization of user input within the JavaScript segment of the \"frames.erb\" template file. This vulnerability is fixed in 0.9.36."
} ,
{
"lang" : "es" ,
"value" : "YARD es una herramienta de documentaci\u00f3n de Ruby. El archivo \"frames.html\" dentro de la documentaci\u00f3n generada por Yard Doc es vulnerable a ataques de Cross-Site Scripting (XSS) debido a una desinfecci\u00f3n inadecuada de la entrada del usuario dentro del segmento JavaScript del archivo de plantilla \"frames.erb\". Esta vulnerabilidad se solucion\u00f3 en 0.9.35."
2024-02-28 21:00:28 +00:00
}
] ,
"metrics" : {
"cvssMetricV31" : [
{
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N" ,
2024-12-08 03:06:42 +00:00
"baseScore" : 5.4 ,
"baseSeverity" : "MEDIUM" ,
2024-02-28 21:00:28 +00:00
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "REQUIRED" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "LOW" ,
"integrityImpact" : "LOW" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "NONE"
2024-02-28 21:00:28 +00:00
} ,
"exploitabilityScore" : 2.8 ,
"impactScore" : 2.5
2025-02-14 17:03:58 +00:00
} ,
{
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" ,
"baseScore" : 6.1 ,
"baseSeverity" : "MEDIUM" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "REQUIRED" ,
"scope" : "CHANGED" ,
"confidentialityImpact" : "LOW" ,
"integrityImpact" : "LOW" ,
"availabilityImpact" : "NONE"
} ,
"exploitabilityScore" : 2.8 ,
"impactScore" : 2.7
2024-02-28 21:00:28 +00:00
}
]
} ,
"weaknesses" : [
{
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
"description" : [
{
"lang" : "en" ,
"value" : "CWE-79"
}
]
2025-02-14 17:03:58 +00:00
} ,
{
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
"description" : [
{
"lang" : "en" ,
"value" : "CWE-79"
}
]
}
] ,
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*" ,
"versionEndExcluding" : "0.9.36" ,
"matchCriteriaId" : "B95D8A51-7C3F-41C9-845D-A1B42132CE82"
}
]
}
]
} ,
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*" ,
"matchCriteriaId" : "CC559B26-5DFC-4B7A-A27C-B77DE755DFF9"
}
]
}
]
} ,
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*" ,
"matchCriteriaId" : "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73"
}
]
}
]
2024-02-28 21:00:28 +00:00
}
] ,
"references" : [
2024-03-01 19:00:59 +00:00
{
"url" : "https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa" ,
2025-02-14 17:03:58 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
2024-03-01 19:00:59 +00:00
} ,
2024-02-28 21:00:28 +00:00
{
"url" : "https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be" ,
2025-02-14 17:03:58 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
2024-02-28 21:00:28 +00:00
} ,
2024-03-01 19:00:59 +00:00
{
"url" : "https://github.com/lsegal/yard/pull/1538" ,
2025-02-14 17:03:58 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Issue Tracking" ,
"Patch"
]
2024-03-01 19:00:59 +00:00
} ,
2024-02-28 21:00:28 +00:00
{
"url" : "https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc" ,
2025-02-14 17:03:58 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Exploit" ,
"Vendor Advisory"
]
2024-03-01 19:00:59 +00:00
} ,
{
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml" ,
2025-02-14 17:03:58 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Exploit" ,
"Third Party Advisory"
]
2024-03-07 00:55:36 +00:00
} ,
{
"url" : "https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html" ,
2025-02-14 17:03:58 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Mailing List"
]
2024-03-21 13:04:12 +00:00
} ,
{
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA/" ,
2025-02-14 17:03:58 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Mailing List"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa" ,
2025-02-14 17:03:58 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be" ,
2025-02-14 17:03:58 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://github.com/lsegal/yard/pull/1538" ,
2025-02-14 17:03:58 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Issue Tracking" ,
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc" ,
2025-02-14 17:03:58 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Exploit" ,
"Vendor Advisory"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml" ,
2025-02-14 17:03:58 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Exploit" ,
"Third Party Advisory"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html" ,
2025-02-14 17:03:58 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Mailing List"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA/" ,
2025-02-14 17:03:58 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Mailing List"
]
2024-02-28 21:00:28 +00:00
}
]
}