Vulnerabilities in pkg:golang/github.com/albertito/chasquid

PACKAGE
Advisory Identifier: GHSA-g4x3-mfpj-f335
Advisory Summary

CVE-2023-52354 is a HIGH (CVSS 7.5) chasquid http request/response smuggling vulnerability vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Github.com/albertito/chasquid libraries in the Go ecosystem. The issue involves chasquid http request/response smuggling vulnerability. Remediation is available by upgrading affected packages to version 1.13.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/albertito/chasquid

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/albertito/chasquid. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-g4x3-mfpj-f335 CVE-2023-52354 HIGH chasquid HTTP Request/Response Smuggling vulnerability

CVE-2023-52354 at a Glance

CVE Identifier CVE-2023-52354
GHSA Identifier GHSA-g4x3-mfpj-f335
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Affected Product Github.com/albertito/chasquid
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2023-52354

To remediate this vulnerability, upgrade all affected Github.com/albertito/chasquid dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/albertito/chasquid fixed: 1.13
Upgrade github.com/albertito/chasquid to 1.13
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/albertito/chasquid

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-52354, inspect your project dependencies for Github.com/albertito/chasquid:

inspect dependencies for github.com/albertito/chasquid

Analyze the terminal output to locate any version of Github.com/albertito/chasquid in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.13), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Github.com/albertito/chasquid, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

chasquid before 1.13 allows SMTP smuggling because LF-terminated lines are accepted.

CVE-2023-52354 Affected Github.com/albertito/chasquid Versions

1 component(s)
Fixed Versions:
1.13
Product / Package Ecosystem Affected Versions Fixed Version
github.com/albertito/chasquid
Go
< 1.13
1.13

References

Frequently Asked Questions

What is CVE-2023-52354?
CVE-2023-52354 is a security vulnerability in Github.com/albertito/chasquid involving chasquid HTTP Request/Response Smuggling vulnerability under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling').
Which Github.com/albertito/chasquid versions are affected?
Affected versions include releases prior to 1.13 across affected packages: github.com/albertito/chasquid.
What version fixes CVE-2023-52354?
Upgrading to 1.13 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/albertito/chasquid affected?
Yes, github.com/albertito/chasquid is affected in releases prior to 1.13. Upgrade your dependency to 1.13 or later.
What is the CVSS score of CVE-2023-52354?
CVE-2023-52354 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2023-52354?
CVE-2023-52354 is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') (The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.).
How can I check Go dependencies for CVE-2023-52354?
Run the dependency tree command: 'inspect dependencies for github.com/albertito/chasquid'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g4x3-mfpj-f335",
  "modified" : "2024-01-29T22:29:06Z",
  "published" : "2024-01-22T06:30:32Z",
  "aliases" : [ "CVE-2023-52354" ],
  "summary" : "chasquid HTTP Request/Response Smuggling vulnerability",
  "details" : "chasquid before 1.13 allows SMTP smuggling because LF-terminated lines are accepted.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/albertito/chasquid"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.13"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-52354"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/albertito/chasquid/issues/47"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/albertito/chasquid/commit/a996106eeebe81a292ecba838c7503cac7493e74"
  }, {
    "type" : "WEB",
    "url" : "https://blitiri.com.ar/p/chasquid/relnotes/#113-2023-12-24"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/albertito/chasquid"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-444" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-29T22:29:06Z",
    "nvd_published_at" : "2024-01-22T06:15:07Z"
  }
}