Upstream information

CVE-2022-4993 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Ignore

This issue is currently rated as having critical severity.

CVSS v3 Scores
CVSS detail CNA (CISA-ADP)
Base Score 9.1
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact None
CVSSv3 Version 3.1
SUSE Bugzilla entry: 826505 [RESOLVED / DUPLICATE]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SLES15-SP5-CHOST-BYOS-SAP-CCloud perl Analysis
SLES15-SP6-CHOST-BYOS perl Analysis
SLES15-SP6-CHOST-BYOS-Aliyun perl Analysis
SLES15-SP6-CHOST-BYOS-Azure perl Analysis
SLES15-SP6-CHOST-BYOS-EC2 perl Analysis
SLES15-SP6-CHOST-BYOS-GCE perl Analysis
SLES15-SP6-CHOST-BYOS-GDC perl Analysis
SLES15-SP6-CHOST-BYOS-SAP-CCloud perl Analysis
SLES15-SP7-CHOST-BYOS-Aliyun perl Analysis
SLES15-SP7-CHOST-BYOS-Azure perl Analysis
SLES15-SP7-CHOST-BYOS-EC2 perl Analysis
SLES15-SP7-CHOST-BYOS-GCE perl Analysis
SLES15-SP7-CHOST-BYOS-GDC perl Analysis
SLES15-SP7-CHOST-BYOS-SAP-CCloud perl Analysis
SUSE Linux Enterprise Desktop 15 SP7 perl Analysis
SUSE Linux Enterprise High Performance Computing 12 perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP7 perl Analysis
SUSE Linux Enterprise Micro 5.3 perl Analysis
SUSE Linux Enterprise Micro 5.4 perl Analysis
SUSE Linux Enterprise Micro 5.5 perl Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP7 perl Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP7 perl Analysis
SUSE Linux Enterprise Module for Package Hub 15 SP7 perl Analysis
SUSE Linux Enterprise Server 15 SP7 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP7 perl Analysis
Products under Long Term Service Pack support and receiving important and critical security fixes.
SLES15-SP3-CHOST-BYOS-Aliyun perl Analysis
SLES15-SP3-CHOST-BYOS-Azure perl Analysis
SLES15-SP3-CHOST-BYOS-EC2 perl Analysis
SLES15-SP3-CHOST-BYOS-GCE perl Analysis
SLES15-SP3-CHOST-BYOS-SAP-CCloud perl Analysis
SLES15-SP4-CHOST-BYOS perl Analysis
SLES15-SP4-CHOST-BYOS-Aliyun perl Analysis
SLES15-SP4-CHOST-BYOS-Azure perl Analysis
SLES15-SP4-CHOST-BYOS-EC2 perl Analysis
SLES15-SP4-CHOST-BYOS-GCE perl Analysis
SLES15-SP4-CHOST-BYOS-SAP-CCloud perl Analysis
SLES15-SP5-CHOST-BYOS-Aliyun perl Analysis
SLES15-SP5-CHOST-BYOS-Azure perl Analysis
SLES15-SP5-CHOST-BYOS-EC2 perl Analysis
SLES15-SP5-CHOST-BYOS-GCE perl Analysis
SLES15-SP5-CHOST-BYOS-GDC perl Analysis
SUSE Linux Enterprise High Performance Computing 12 SP5 perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP5 perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS perl Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP4 perl Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP5 perl Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP6 perl Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP4 perl Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP5 perl Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP6 perl Analysis
SUSE Linux Enterprise Server 12 SP5 perl Analysis
SUSE Linux Enterprise Server 12 SP5-LTSS perl Analysis
SUSE Linux Enterprise Server 15 SP4 perl Analysis
SUSE Linux Enterprise Server 15 SP4-LTSS perl Analysis
SUSE Linux Enterprise Server 15 SP5 perl Analysis
SUSE Linux Enterprise Server 15 SP5-LTSS perl Analysis
SUSE Linux Enterprise Server 15 SP6 perl Analysis
SUSE Linux Enterprise Server 15 SP6-LTSS perl Analysis
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP4 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP5 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP6 perl Analysis
SUSE Manager Proxy 4.3 perl Analysis
SUSE Manager Proxy LTS 4.3 perl Analysis
SUSE Manager Retail Branch Server 4.3 perl Analysis
SUSE Manager Retail Branch Server LTS 4.3 perl Analysis
SUSE Manager Server 4.3 perl Analysis
SUSE Manager Server LTS 4.3 perl Analysis
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 perl Analysis
SUSE CaaS Platform 3.0 perl Analysis
SUSE CaaS Platform 4.0 perl Analysis
SUSE Enterprise Storage 6 perl Analysis
SUSE Enterprise Storage 7 perl Analysis
SUSE Enterprise Storage 7.1 perl Unsupported
SUSE Linux Enterprise Desktop 12 perl Analysis
SUSE Linux Enterprise Desktop 12 SP1 perl Analysis
SUSE Linux Enterprise Desktop 12 SP2 perl Analysis
SUSE Linux Enterprise Desktop 12 SP3 perl Analysis
SUSE Linux Enterprise Desktop 12 SP4 perl Analysis
SUSE Linux Enterprise Desktop 15 perl Analysis
SUSE Linux Enterprise Desktop 15 SP1 perl Analysis
SUSE Linux Enterprise Desktop 15 SP2 perl Analysis
SUSE Linux Enterprise Desktop 15 SP3 perl Unsupported
SUSE Linux Enterprise Desktop 15 SP4 perl Analysis
SUSE Linux Enterprise Desktop 15 SP5 perl Analysis
SUSE Linux Enterprise Desktop 15 SP6 perl Analysis
SUSE Linux Enterprise High Performance Computing 12 SP1 perl Analysis
SUSE Linux Enterprise High Performance Computing 12 SP2 perl Analysis
SUSE Linux Enterprise High Performance Computing 12 SP3 perl Analysis
SUSE Linux Enterprise High Performance Computing 12 SP4 perl Analysis
SUSE Linux Enterprise High Performance Computing 15 perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP1 perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS perl Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP2 perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP3 perl Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4 perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS perl Analysis
SUSE Linux Enterprise High Performance Computing 15 SP6 perl Analysis
SUSE Linux Enterprise High Performance Computing 15-ESPOS perl Analysis
SUSE Linux Enterprise High Performance Computing 15-LTSS perl Analysis
SUSE Linux Enterprise Micro 5.0 perl Unsupported
SUSE Linux Enterprise Micro 5.1 perl Analysis
SUSE Linux Enterprise Micro 5.2 perl Analysis
SUSE Linux Enterprise Module for Basesystem 15 perl Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP1 perl Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP2 perl Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP3 perl Unsupported
SUSE Linux Enterprise Module for Development Tools 15 perl Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP1 perl Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP2 perl Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP3 perl Unsupported
SUSE Linux Enterprise Module for Package Hub 15 SP1 perl Unsupported
SUSE Linux Enterprise Module for Package Hub 15 SP2 perl Analysis
SUSE Linux Enterprise Module for Package Hub 15 SP3 perl Unsupported
SUSE Linux Enterprise Module for Package Hub 15 SP4 perl Analysis
SUSE Linux Enterprise Module for Package Hub 15 SP5 perl Analysis
SUSE Linux Enterprise Module for Package Hub 15 SP6 perl Analysis
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT perl Analysis
SUSE Linux Enterprise Real Time 15 SP2 perl Analysis
SUSE Linux Enterprise Real Time 15 SP3 perl Analysis
SUSE Linux Enterprise Real Time 15 SP4 perl Analysis
SUSE Linux Enterprise Server 10 SP4-LTSS perl Ignore
SUSE Linux Enterprise Server 12 perl Analysis
SUSE Linux Enterprise Server 12 SP1 perl Analysis
SUSE Linux Enterprise Server 12 SP1-LTSS perl Analysis
SUSE Linux Enterprise Server 12 SP2 perl Analysis
SUSE Linux Enterprise Server 12 SP2-BCL perl Analysis
SUSE Linux Enterprise Server 12 SP2-ESPOS perl Analysis
SUSE Linux Enterprise Server 12 SP2-LTSS perl Analysis
SUSE Linux Enterprise Server 12 SP3 perl Analysis
SUSE Linux Enterprise Server 12 SP3-BCL perl Analysis
SUSE Linux Enterprise Server 12 SP3-ESPOS perl Analysis
SUSE Linux Enterprise Server 12 SP3-LTSS perl Analysis
SUSE Linux Enterprise Server 12 SP4 perl Analysis
SUSE Linux Enterprise Server 12 SP4-ESPOS perl Analysis
SUSE Linux Enterprise Server 12 SP4-LTSS perl Analysis
SUSE Linux Enterprise Server 12-LTSS perl Analysis
SUSE Linux Enterprise Server 15 perl Analysis
SUSE Linux Enterprise Server 15 SP1 perl Analysis
SUSE Linux Enterprise Server 15 SP1-BCL perl Analysis
SUSE Linux Enterprise Server 15 SP1-LTSS perl Analysis
SUSE Linux Enterprise Server 15 SP2 perl Analysis
SUSE Linux Enterprise Server 15 SP2-BCL perl Analysis
SUSE Linux Enterprise Server 15 SP2-LTSS perl Analysis
SUSE Linux Enterprise Server 15 SP3 perl Unsupported
SUSE Linux Enterprise Server 15 SP3-BCL perl Analysis
SUSE Linux Enterprise Server 15 SP3-LTSS perl Analysis
SUSE Linux Enterprise Server 15-LTSS perl Analysis
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 12 SP1 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 12 SP2 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 12 SP3 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 12 SP4 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 15 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP1 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP2 perl Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP3 perl Unsupported
SUSE Manager Proxy 4.0 perl Analysis
SUSE Manager Proxy 4.1 perl Analysis
SUSE Manager Proxy 4.2 perl Unsupported
SUSE Manager Retail Branch Server 4.0 perl Analysis
SUSE Manager Retail Branch Server 4.1 perl Analysis
SUSE Manager Retail Branch Server 4.2 perl Unsupported
SUSE Manager Server 4.0 perl Analysis
SUSE Manager Server 4.1 perl Analysis
SUSE Manager Server 4.2 perl Unsupported
SUSE OpenStack Cloud 7 perl Analysis
SUSE OpenStack Cloud 8 perl Analysis
SUSE OpenStack Cloud 9 perl Analysis
SUSE OpenStack Cloud Crowbar 8 perl Analysis
SUSE OpenStack Cloud Crowbar 9 perl Analysis
openSUSE Leap 15.3 perl Analysis
openSUSE Leap 15.4 perl Analysis
openSUSE Leap 15.5 perl Analysis
openSUSE Leap 15.6 perl Analysis
openSUSE Leap Micro 5.2 perl Analysis
openSUSE Leap Micro 5.3 perl Analysis
openSUSE Leap Micro 5.4 perl Analysis
openSUSE Leap Micro 5.5 perl Analysis
Container Status
bci/dotnet-aspnet:5.0
bci/dotnet-runtime:5.0
bci/dotnet-sdk:5.0
bci/spack
bci/spack:0.23
containers/lmcache-lmstack-router:0
containers/open-webui-pipelines:0
private-registry/1.2/harbor-portal
private-registry/harbor-nginx
private-registry/harbor-portal
ses/7.1/ceph/haproxy
ses/7.1/ceph/keepalived
suse/kiosk/firefox-esr
suse/kiosk/firefox-esr:esr
suse/kiosk/tigervnc-x11vnc
suse/kiosk/xorg
suse/kiosk/xorg-client
suse/kiosk/xorg:21
suse/manager/5.0/x86_64/server
suse/manager/5.0/x86_64/server-migration-14-16
suse/mariadb
suse/mariadb:10.11
suse/multi-linux-manager/5.1/x86_64/server
suse/multi-linux-manager/5.1/x86_64/server-migration-14-16
suse/multi-linux-manager/5.2/x86_64/server
suse/multi-linux-manager/5.2/x86_64/server-database-migration
suse/nginx
suse/nginx:1.21
suse/pcp
suse/pcp:5
suse/pcp:6
suse/postgres
suse/postgres:16.14
suse/postgres:17.10
suse/registry
suse/registry:2.8
suse/rmt-mariadb
suse/rmt-nginx
suse/sle-micro/5.0/toolbox
suse/sle-micro/5.1/toolbox
suse/sle-micro/5.2/toolbox
suse/sle-micro/5.3/toolbox
suse/sle-micro/5.4/toolbox
suse/sle-micro/5.5
suse/sle-micro/5.5/toolbox
suse/sle-micro/rt-5.5
suse/sles/15.2/virt-launcher:0.38.1
suse/sles/15.3/libguestfs-tools:0.45.0
suse/sles/15.3/virt-launcher:0.45.0
suse/sles/15.4/libguestfs-tools:0.49.0
suse/sles/15.4/virt-launcher:0.49.0
suse/sles/15.6/libguestfs-tools:1.1.1
suse/sles/15.7/libguestfs-tools:1.5.0
third-party/nvidia/driver:550-sles15.7
third-party/nvidia/driver:570-sles15.7
third-party/nvidia/driver:575-sles15.7
third-party/nvidia/driver:580-sles15.7
third-party/nvidia/driver:590-sles15.7
third-party/nvidia/driver:595-sles15.7
perlAnalysis


SUSE Timeline for this CVE

CVE page created: Fri Aug 14 11:22:27 2026
CVE page last modified: Tue Aug 18 19:24:26 2026