Security Advisories (3)
CVE-2023-31486 (2023-02-14)

HTTP::Tiny v0.082, a Perl core module since v5.13.9 and available standalone on CPAN, does not verify TLS certs by default. Users must opt-in with the verify_SSL=>1 flag to verify certs when using HTTPS. Resulting in a CWE-1188: Insecure Default Initialization of Resource weakness.

CVE-2016-1238 (2016-07-29)

Loading modules from . (current directory).

CVE-2026-7010 (2026-05-11)

HTTP::Tiny versions before 0.093 for Perl do not validate CRLF in HTTP request lines or control field header values. The unvalidated inputs are the method and URI in the request line, the URL host that becomes the `Host:` header, and HTTP/1.1 control data field values. An attacker who controls one of these inputs, for example a user supplied URL passed to a webhook or URL fetch endpoint, can inject additional headers and smuggle requests to the upstream server.

Changes for version 0.057 - 2016-04-18 (TRIAL RELEASE)

  • ADDED
    • Added support for the SSL_CERT_FILE environment variable.
    • Added 'peer' attribute to force a connection to a particular server.
    • Added 'connected' method to allow introspection of persistent connections.
    • An array reference of redirection result hash references is included in the final response hash reference (but only if redirects occur).
  • CHANGED
    • Because folded headers are obsoleted in the revised RFCs, if CRLF is found in header values followed by one or more spaces, they are all replaced by a single space.
  • FIXED
    • Per the RFC, control headers are now sent first before other headers (which are sent in arbitrary order).
    • Only well-known headers have their case canonicalized; all other headers are sent in the case provided by the user.
    • The 'keep_alive' option now also sets the SO_KEEPALIVE option on the underlying socket to help with long-lived, idle connections.
    • Request header field values are now validated against the RFC rules (i.e. empty or else space-or-tab separated tokens of printable characters).

Documentation

Modules

A small, simple, correct HTTP/1.1 client