Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.5, the CRuby native extension can leave Ruby wrappers...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12ruby-nokogiri |
All versions→ Not listed |
Not listed |
| Debian:13ruby-nokogiri |
All versions→ Not listed |
Not listed |
| Debian:14ruby-nokogiri |
< 1.19.7+dfsg-1→ 1.19.7+dfsg-1 |
1.19.7+dfsg-1 |
Original description The description as published by the source.
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.5, the CRuby native extension can leave Ruby wrappers pointing to freed memory when Nokogiri::XML::Node#[]= or Nokogiri::XML::Node#lang= replaces an existing attribute value after code has accessed the attribute's child nodes. Replacing the value frees native child nodes while their wrappers remain reachable, and later use of those wrappers can cause an invalid read or process segfault. JRuby is not affected. This issue is fixed in version 1.19.5.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org