Debian Package Tracker
Register | Log in
Subscribe

libhtml-formhandler-perl

form handler written in Moose

Choose email to subscribe with

general
  • source: libhtml-formhandler-perl (main)
  • version: 0.40068-3
  • maintainer: Debian Perl Group (archive) (DMD) (LowNMU)
  • uploaders: Dominique Dumont [DMD] – Angel Abad [DMD] – gregor herrmann [DMD]
  • arch: all
  • std-ver: 4.6.0
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 0.40068-1
  • oldstable: 0.40068-2
  • stable: 0.40068-2
  • testing: 0.40068-3
  • unstable: 0.40068-3
versioned links
  • 0.40068-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.40068-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.40068-3: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • libhtml-formhandler-perl
action needed
1 security issue in bullseye high

There is 1 open security issue in bullseye.

1 important issue:
  • CVE-2022-4993: HTML::FormHandler versions through 0.40068 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 request that carries no bracket character of its own. A coercion or transform exception reaches it the same way. Beyond those, a validator whose message contains the field value puts that value in the template directly, and add_error replaces the message list with the contents of an arrayref first argument (`@message = @{$message[0]} if ref $message[0] eq 'ARRAY'`), so a value arriving as an array fills the argument slots from the same request as well. A malformed group such as `[0]` makes the compile croak, and HTML::FormHandler::I18N::maketext and add_error each re-raise that as a die, so process() throws. A well formed group naming sprintf reaches CORE::sprintf with an attacker chosen field width. Any caller that applies a type constraint or a transform to an untrusted field, or whose validator passes an untrusted field value to add_error, can be made to throw an unhandled exception out of process(), or to allocate an arbitrary amount of memory in one request, and an application whose language handle subclass defines side effecting public methods makes those callable with attacker chosen arguments. The dumped type constraint message is bounded to the exception, because both dumpers quote non-numeric elements so the method slot is never an attacker chosen name. The built-in messages pass fixed templates with the value in an argument slot, where it stays inert, and the built-in field types attach explicit message callbacks, so neither is affected.
Created: 2026-08-13 Last update: 2026-08-18 18:02
1 security issue in bookworm high

There is 1 open security issue in bookworm.

1 important issue:
  • CVE-2022-4993: HTML::FormHandler versions through 0.40068 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 request that carries no bracket character of its own. A coercion or transform exception reaches it the same way. Beyond those, a validator whose message contains the field value puts that value in the template directly, and add_error replaces the message list with the contents of an arrayref first argument (`@message = @{$message[0]} if ref $message[0] eq 'ARRAY'`), so a value arriving as an array fills the argument slots from the same request as well. A malformed group such as `[0]` makes the compile croak, and HTML::FormHandler::I18N::maketext and add_error each re-raise that as a die, so process() throws. A well formed group naming sprintf reaches CORE::sprintf with an attacker chosen field width. Any caller that applies a type constraint or a transform to an untrusted field, or whose validator passes an untrusted field value to add_error, can be made to throw an unhandled exception out of process(), or to allocate an arbitrary amount of memory in one request, and an application whose language handle subclass defines side effecting public methods makes those callable with attacker chosen arguments. The dumped type constraint message is bounded to the exception, because both dumpers quote non-numeric elements so the method slot is never an attacker chosen name. The built-in messages pass fixed templates with the value in an argument slot, where it stays inert, and the built-in field types attach explicit message callbacks, so neither is affected.
Created: 2026-08-13 Last update: 2026-08-18 18:02
1 low-priority security issue in trixie low

There is 1 open security issue in trixie.

1 issue left for the package maintainer to handle:
  • CVE-2022-4993: (needs triaging) HTML::FormHandler versions through 0.40068 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 request that carries no bracket character of its own. A coercion or transform exception reaches it the same way. Beyond those, a validator whose message contains the field value puts that value in the template directly, and add_error replaces the message list with the contents of an arrayref first argument (`@message = @{$message[0]} if ref $message[0] eq 'ARRAY'`), so a value arriving as an array fills the argument slots from the same request as well. A malformed group such as `[0]` makes the compile croak, and HTML::FormHandler::I18N::maketext and add_error each re-raise that as a die, so process() throws. A well formed group naming sprintf reaches CORE::sprintf with an attacker chosen field width. Any caller that applies a type constraint or a transform to an untrusted field, or whose validator passes an untrusted field value to add_error, can be made to throw an unhandled exception out of process(), or to allocate an arbitrary amount of memory in one request, and an application whose language handle subclass defines side effecting public methods makes those callable with attacker chosen arguments. The dumped type constraint message is bounded to the exception, because both dumpers quote non-numeric elements so the method slot is never an attacker chosen name. The built-in messages pass fixed templates with the value in an argument slot, where it stays inert, and the built-in field types attach explicit message callbacks, so neither is affected.

You can find information about how to handle this issue in the security team's documentation.

Created: 2026-08-13 Last update: 2026-08-18 18:02
debian/patches: 1 patch to forward upstream low

Among the 3 debian patches available in version 0.40068-3 of the package, we noticed the following issues:

  • 1 patch where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2026-08-14 Last update: 2026-08-14 18:00
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.7.4 instead of 4.6.0).
Created: 2022-05-11 Last update: 2026-08-14 12:14
news
[rss feed]
  • [2026-08-19] libhtml-formhandler-perl 0.40068-3 MIGRATED to testing (Debian testing watch)
  • [2026-08-14] Accepted libhtml-formhandler-perl 0.40068-3 (source) into unstable (Salvatore Bonaccorso)
  • [2022-03-28] libhtml-formhandler-perl 0.40068-2 MIGRATED to testing (Debian testing watch)
  • [2022-03-25] Accepted libhtml-formhandler-perl 0.40068-2 (source) into unstable (gregor herrmann)
  • [2017-11-17] libhtml-formhandler-perl 0.40068-1 MIGRATED to testing (Debian testing watch)
  • [2017-11-11] Accepted libhtml-formhandler-perl 0.40068-1 (source) into unstable (Damyan Ivanov)
  • [2016-10-27] libhtml-formhandler-perl 0.40067-1 MIGRATED to testing (Debian testing watch)
  • [2016-10-21] Accepted libhtml-formhandler-perl 0.40067-1 (source all) into unstable (Angel Abad)
  • [2016-09-17] libhtml-formhandler-perl 0.40066-1 MIGRATED to testing (Debian testing watch)
  • [2016-09-11] Accepted libhtml-formhandler-perl 0.40066-1 (source) into unstable (gregor herrmann)
  • [2016-05-05] libhtml-formhandler-perl 0.40065-1 MIGRATED to testing (Debian testing watch)
  • [2016-04-29] Accepted libhtml-formhandler-perl 0.40065-1 (source all) into unstable (Angel Abad)
  • [2015-10-24] libhtml-formhandler-perl 0.40064-1 MIGRATED to testing (Britney)
  • [2015-10-18] Accepted libhtml-formhandler-perl 0.40064-1 (source) into unstable (gregor herrmann)
  • [2014-08-30] libhtml-formhandler-perl 0.40057-1 MIGRATED to testing (Britney)
  • [2014-08-25] Accepted libhtml-formhandler-perl 0.40057-1 (source all) into unstable (gregor herrmann)
  • [2014-08-21] Accepted libhtml-formhandler-perl 0.40056-1 (source all) into unstable (gregor herrmann)
  • [2014-02-05] libhtml-formhandler-perl 0.40050-2 MIGRATED to testing (Debian testing watch)
  • [2014-02-01] Accepted libhtml-formhandler-perl 0.40013-1+deb7u1 (source all) (Salvatore Bonaccorso)
  • [2014-01-30] Accepted libhtml-formhandler-perl 0.40050-2 (source all) (Salvatore Bonaccorso)
  • [2013-10-19] libhtml-formhandler-perl 0.40050-1 MIGRATED to testing (Debian testing watch)
  • [2013-10-07] Accepted libhtml-formhandler-perl 0.40050-1 (source all) (gregor herrmann)
  • [2013-08-29] libhtml-formhandler-perl 0.40027-1 MIGRATED to testing (Debian testing watch)
  • [2013-08-18] Accepted libhtml-formhandler-perl 0.40027-1 (source all) (Angel Abad)
  • [2013-07-23] libhtml-formhandler-perl 0.40026-1 MIGRATED to testing (Debian testing watch)
  • [2013-07-12] Accepted libhtml-formhandler-perl 0.40026-1 (source all) (Angel Abad)
  • [2013-06-17] libhtml-formhandler-perl 0.40025-1 MIGRATED to testing (Debian testing watch)
  • [2013-06-06] Accepted libhtml-formhandler-perl 0.40025-1 (source all) (Angel Abad)
  • [2013-05-05] libhtml-formhandler-perl 0.40022-1 MIGRATED to testing (Debian testing watch)
  • [2013-03-23] Accepted libhtml-formhandler-perl 0.40022-1 (source all) (gregor herrmann)
  • 1
  • 2
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 0.40068-3

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing