Loop with Unreachable Exit Condition ('Infinite Loop') Affecting w3m package, versions <0.5.3.20180125-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.75% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE321-W3M-8490042
  • published6 Dec 2024
  • disclosed25 Jan 2018

Introduced: 25 Jan 2018

CVE-2018-6196  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 w3m to version 0.5.3.20180125-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream w3m package and not the w3m package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.