cvelist/2019/5xxx/CVE-2019-5477.json
2020-06-13 03:01:22 +00:00

87 lines
3.3 KiB
JSON

{
"data_type": "CVE",
"data_format": "MITRE",
"data_version": "4.0",
"CVE_data_meta": {
"ID": "CVE-2019-5477",
"ASSIGNER": "support@hackerone.com",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"vendor_name": "n/a",
"product": {
"product_data": [
{
"product_name": "Nokogiri (ruby gem)",
"version": {
"version_data": [
{
"version_value": "Fixed in v1.10.4"
}
]
}
}
]
}
}
]
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "OS Command Injection (CWE-78)"
}
]
}
]
},
"references": {
"reference_data": [
{
"refsource": "MISC",
"name": "https://hackerone.com/reports/650835",
"url": "https://hackerone.com/reports/650835"
},
{
"refsource": "MISC",
"name": "https://github.com/tenderlove/rexical/blob/master/CHANGELOG.rdoc",
"url": "https://github.com/tenderlove/rexical/blob/master/CHANGELOG.rdoc"
},
{
"refsource": "CONFIRM",
"name": "https://github.com/sparklemotion/nokogiri/issues/1915",
"url": "https://github.com/sparklemotion/nokogiri/issues/1915"
},
{
"refsource": "MLIST",
"name": "[debian-lts-announce] 20190926 [SECURITY] [DLA 1933-1] ruby-nokogiri security update",
"url": "https://lists.debian.org/debian-lts-announce/2019/09/msg00027.html"
},
{
"refsource": "UBUNTU",
"name": "USN-4175-1",
"url": "https://usn.ubuntu.com/4175-1/"
},
{
"refsource": "GENTOO",
"name": "GLSA-202006-05",
"url": "https://security.gentoo.org/glsa/202006-05"
}
]
},
"description": {
"description_data": [
{
"lang": "eng",
"value": "A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess via Ruby's `Kernel.open` method. Processes are vulnerable only if the undocumented method `Nokogiri::CSS::Tokenizer#load_file` is being called with unsafe user input as the filename. This vulnerability appears in code generated by the Rexical gem versions v1.0.6 and earlier. Rexical is used by Nokogiri to generate lexical scanner code for parsing CSS queries. The underlying vulnerability was addressed in Rexical v1.0.7 and Nokogiri upgraded to this version of Rexical in Nokogiri v1.10.4."
}
]
}
}