GHSA-FV3M-XHQW-9M79

Vulnerability from github – Published: 2022-04-27 21:05 – Updated: 2022-04-27 21:05
VLAI?
Summary
ballcat-codegen template engine remote code execution injection
Details

Impact

Ballcat Codegen provides the function of online editing code to generate templates. In version < 1.0.0.beta.2, since Velocity and freemarker templates are introduced but input verification is not done, attackers can implement remote code execution through malicious code injection of the template engine.

Patches

The fault is rectified and needs to be upgraded to the latest version.

Show details on source website

{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 1.0.0.beta.1"
      },
      "package": {
        "ecosystem": "Maven",
        "name": "com.hccake:ballcat-codegen"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.0.beta.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2022-24881"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-20",
      "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-04-27T21:05:15Z",
    "nvd_published_at": "2022-04-26T16:15:00Z",
    "severity": "HIGH"
  },
  "details": "### Impact\nBallcat Codegen provides the function of online editing code to generate templates.\nIn version \u003c 1.0.0.beta.2, since Velocity and freemarker templates are introduced but input verification is not done, attackers can implement remote code execution through malicious code injection of the template engine.\n\n### Patches\nThe fault is rectified and needs to be upgraded to the latest version.",
  "id": "GHSA-fv3m-xhqw-9m79",
  "modified": "2022-04-27T21:05:15Z",
  "published": "2022-04-27T21:05:15Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/ballcat-projects/ballcat-codegen/security/advisories/GHSA-fv3m-xhqw-9m79"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24881"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ballcat-projects/ballcat-codegen/issues/5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ballcat-projects/ballcat-codegen/commit/84a7cb38daf0295b93aba21d562ec627e4eb463b"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ballcat-projects/ballcat-codegen"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ballcat-codegen template engine remote code execution injection"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…