portage-ng / portage / dev-ruby / nokogiri / 1.19.0
portage-ng glsa
3 advisories reference dev-ruby/nokogiri · none place version 1.19.0 in a vulnerable range
▸ GLSA 202408-13 Nokogiri: Denial of Service this version unaffected normal local 2024-08-07

A vulnerability has been discovered in Nokogiri, which can lead to a denial of service.

Announced
2024-08-07
Revised
2024-08-07
Access
local
Bugs
#884863
Advisory
https://security.gentoo.org/glsa/202408-13

Affected packages

PackageArchVulnerableUnaffected
dev-ruby/nokogiri*< 1.13.10>= 1.13.10

Background

Nokogiri is an HTML, XML, SAX, and Reader parser.

Description

A denial of service vulnerability has been discovered in Nokogiri. Please review the CVE identifier referenced below for details.

Impact

Nokogiri fails to check the return value from `xmlTextReaderExpand` in the method `Nokogiri::XML::Reader#attribute_hash`. This can lead to a null pointer exception when invalid markup is being parsed. For applications using `XML::Reader` to parse untrusted inputs, this may potentially be a vector for a denial of service attack.

Workaround

Users may be able to search their code for calls to either `XML::Reader#attributes` or `XML::Reader#attribute_hash` to determine if they are affected.

Resolution

All Nokogiri users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-ruby/nokogiri-1.13.10"

References

▸ GLSA 202208-29 Nokogiri: Multiple Vulnerabilities this version unaffected low remote 2022-08-14

Multiple vulnerabilities have been discovered in Nokogiri, the worst of which could result in denial of service.

Announced
2022-08-14
Revised
2022-08-14
Access
remote
Bugs
#846623 #837902 #762685
Advisory
https://security.gentoo.org/glsa/202208-29

Affected packages

PackageArchVulnerableUnaffected
dev-ruby/nokogiri*< 1.13.6>= 1.13.6

Background

Nokogiri is an HTML, XML, SAX, and Reader parser.

Description

Multiple vulnerabilities have been discovered in Nokogiri. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All Nokogiri users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-ruby/nokogiri-1.13.6"

References

▸ GLSA 202006-05 Nokogiri: Command injection this version unaffected normal remote 2020-06-13

Nokogiri has a vulnerability allowing arbitrary execution of code if a certain function is used.

Announced
2020-06-13
Revised
2020-06-13
Access
remote
Bugs
#691974
Advisory
https://security.gentoo.org/glsa/202006-05

Affected packages

PackageArchVulnerableUnaffected
dev-ruby/nokogiri*< 1.10.4>= 1.10.4

Background

Nokogiri is an HTML, XML, SAX, and Reader parser.

Description

A command injection vulnerability in Nokogiri allows commands to be executed in a subprocess by Ruby’s Kernel.open method. Processes are vulnerable only if the undocumented method Nokogiri::CSS::Tokenizer#load_file is being passed untrusted user input.

Impact

A remote attacker could possibly execute arbitrary code with the privileges of the process.

Workaround

Avoid calling the undocumented method Nokogiri::CSS::Tokenizer#load_file with untrusted user input.

Resolution

All Nokogiri users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-ruby/nokogiri-1.10.4"

References