Vulnerability in libhtml-formhandler-perl
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2022-4993 has been found in libhtml-formhandler-perl.
Attackers can target a specific entry point like _AUTO over the network to misuse the product.
Confidential information can be exposed externally.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "libhtml-formhandler-perl UBUNTU-CVE-2022-4993" on the vendor's site.
UBUNTU-CVE-2022-4993 (libhtml-formhandler-perl)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: _AUTO
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in libhtml-formhandler-perl. Attackers reach the vulnerable code path via _AUTO without authentication.
Check the vendor advisory for the affected versions of libhtml-formhandler-perl. Attack surface: _AUTO.
Severity: ?. Confidential information can be exposed externally.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'libhtml-formhandler-perl' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'libhtml-formhandler-perl' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
libhtml-formhandler-perlを grep し、稼働しているサービス・バージョンを把握する。 -
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSlibhtml-formhandler-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlibhtml-formhandler-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlibhtml-formhandler-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibhtml-formhandler-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibhtml-formhandler-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libhtml-formhandler-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibhtml-formhandler-perl |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
HTML::FormHandler versions before 0.410000 for Perl allow attacker selected method dispatch and resource exhaustion because _apply_actions and add_error use error message text built from request data as a Locale::Maketext bracket notation template. add_error hands its first argument to the language handle as the Locale::Maketext message key, and the default handle's lexicon sets _AUTO, so a string that is not a lexicon entry is compiled as a bracket notation template instead of being looked up. In a bracket group the first token names a method called on the language handle and the remaining tokens are its arguments. Three kinds of text the library did not author reach that position. _apply_actions installs a $SIG{__WARN__} handler that stores the warning text in $error_message, and a captured warning survives a successful action, so a field carrying a numeric transform turns Argument "[sprintf,%50000000d,0]" isn't numeric into the template; a warning quotes the submitted value verbatim, so the group is well formed and dispatches. $error_message ||= $tobj->validate($new_value) takes a type constraint's own failure message, which renders the rejected value through a partial dumper in bracket and comma form (Devel::PartialDump when Moose can load it, Type::Tiny's own dumper always), so a field with apply => [ Str ] given a parameter sent more than once, which arrives as an array, gets Reference ["a","b"] did not pass type constraint "Str" as its template, from a re…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org
- report security.metacpan.org