portage-ng / portage / app-text / htmldoc / 1.9.16-r1
portage-ng glsa
2 advisories reference app-text/htmldoc · none place version 1.9.16-r1 in a vulnerable range
▸ GLSA 202405-07 HTMLDOC: Multiple Vulnerabilities this version unaffected normal local and remote 2024-05-04

Multiple vulnerabilities have been discovered in HTMLDOC, the worst of which can lead to arbitrary code execution.

Announced
2024-05-04
Revised
2024-05-04
Access
local and remote
Bugs
#780489
Advisory
https://security.gentoo.org/glsa/202405-07

Affected packages

PackageArchVulnerableUnaffected
app-text/htmldoc*< 1.9.16>= 1.9.16

Background

HTMLDOC is a HTML indexer and HTML to PS and PDF converter.

Description

Multiple vulnerabilities have been discovered in HTMLDOC. 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 HTMLDOC users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/htmldoc-1.9.16"

References

▸ GLSA 200909-12 HTMLDOC: User-assisted execution of arbitrary code this version unaffected normal remote 2009-09-12

Multiple insecure calls to the sscanf() function in HTMLDOC might result in the execution of arbitrary code.

Announced
2009-09-12
Revised
2009-09-12
Access
remote
Bugs
#278186
Advisory
https://security.gentoo.org/glsa/200909-12

Affected packages

PackageArchVulnerableUnaffected
app-text/htmldoc*< 1.8.27-r1>= 1.8.27-r1

Background

HTMLDOC is a HTML indexer and HTML to PS and PDF converter.

Description

ANTHRAX666 reported an insecure call to the sscanf() function in the set_page_size() function in htmldoc/util.cxx. Nico Golde of the Debian Security Team found two more insecure calls in the write_type1() function in htmldoc/ps-pdf.cxx and the htmlLoadFontWidths() function in htmldoc/htmllib.cxx.

Impact

A remote attacker could entice a user to process a specially crafted HTML file using htmldoc, possibly resulting in the execution of arbitrary code with the privileges of the user running the application. NOTE: Additional vectors via specially crafted AFM font metric files do not cross trust boundaries, as the files can only be modified by privileged users.

Workaround

There is no known workaround at this time.

Resolution

All HTMLDOC users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/htmldoc-1.8.27-r1"

References