CVE-2023-3566: Wallabag/wallabag Remote Code Execution Vulnerability

MODERATE
Advisory Identifier: GHSA-6qq7-3hqc-p5w4
CVSS 6.5
CWE-770
Published
Advisory Summary

CVE-2023-3566 is a MODERATE (CVSS 6.5) remote code execution vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Wallabag/wallabag libraries in the Packagist ecosystem. The issue involves wallabag vulnerable to allocation of resources without limits or throttling. Remediation is available in the latest vendor maintenance releases.

CVE-2023-3566 at a Glance

CVE Identifier CVE-2023-3566
GHSA Identifier GHSA-6qq7-3hqc-p5w4
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Wallabag/wallabag
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

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

How to Fix CVE-2023-3566

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

wallabag/wallabag fixed: Latest secure release
Upgrade wallabag/wallabag to Latest secure release
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 wallabag/wallabag

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-3566, inspect your project dependencies for Wallabag/wallabag:

inspect dependencies for wallabag/wallabag

Analyze the terminal output to locate any version of Wallabag/wallabag in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Wallabag/wallabag, 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

A vulnerability was found in wallabag 2.5.4. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the file /config of the component Profile Config. The manipulation of the argument Name leads to allocation of resources. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-233359. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

CVE-2023-3566 Affected Wallabag/wallabag Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
wallabag/wallabag
Packagist
≤ 2.5.4

References

Frequently Asked Questions

What is CVE-2023-3566?
CVE-2023-3566 is a security vulnerability in Wallabag/wallabag involving Wallabag vulnerable to Allocation of Resources Without Limits or Throttling under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Wallabag/wallabag versions are affected?
Affected versions include releases prior to current release patches across affected packages: wallabag/wallabag.
What version fixes CVE-2023-3566?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is wallabag/wallabag affected?
Yes, wallabag/wallabag is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2023-3566?
CVE-2023-3566 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2023-3566?
CVE-2023-3566 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check Packagist dependencies for CVE-2023-3566?
Run the dependency tree command: 'inspect dependencies for wallabag/wallabag'. 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-6qq7-3hqc-p5w4",
  "modified" : "2023-07-19T22:14:26Z",
  "published" : "2023-07-10T18:30:49Z",
  "aliases" : [ "CVE-2023-3566" ],
  "summary" : "Wallabag vulnerable to Allocation of Resources Without Limits or Throttling",
  "details" : "A vulnerability was found in wallabag 2.5.4. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the file /config of the component Profile Config. The manipulation of the argument Name leads to allocation of resources. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-233359. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "wallabag/wallabag"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.5.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-3566"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ctflearner/Vulnerability/blob/main/WALLABAG/NAME-LIMIT.md"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/wallabag/wallabag"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.233359"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.233359"
  }, {
    "type" : "WEB",
    "url" : "https://youtu.be/ouwud0PlHkE"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-10T21:52:53Z",
    "nvd_published_at" : "2023-07-10T16:15:56Z"
  }
}