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 DEBIAN-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: upgrade libhtml-formhandler-perl to 0.40068-3 or later.
If unsure, ask your IT team or search "libhtml-formhandler-perl DEBIAN-CVE-2022-4993" on the vendor's site.
DEBIAN-CVE-2022-4993 (libhtml-formhandler-perl)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: _AUTO
Patched: 0.40068-3 — apply immediately
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 0.40068-3.
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
Apply patchpatch
Upgrade libhtml-formhandler-perl to 0.40068-3ステージング環境で 0.40068-3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12libhtml-formhandler-perl |
All versions→ Not listed |
Not listed |
| Debian:13libhtml-formhandler-perl |
< 0.40068-3~deb13u1→ 0.40068-3~deb13u1 |
0.40068-3~deb13u1 |
| Debian:14libhtml-formhandler-perl |
< 0.40068-3→ 0.40068-3 |
0.40068-3 |
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…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org