VYPR
High severityNVD Advisory· Published Nov 12, 2021· Updated Aug 4, 2024

CVE-2021-43578

CVE-2021-43578

Description

Jenkins Squash TM Publisher (Squash4Jenkins) Plugin 1.0.0 and earlier implements an agent-to-controller message that does not implement any validation of its input, allowing attackers able to control agent processes to replace arbitrary files on the Jenkins controller file system with an attacker-controlled JSON string.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Jenkins Squash TM Publisher Plugin 1.0.0 and earlier lacks input validation in an agent-to-controller message, allowing agent attackers to overwrite arbitrary files with JSON content.

Vulnerability

The Jenkins Squash TM Publisher (Squash4Jenkins) Plugin, versions 1.0.0 and earlier, implements an agent-to-controller message that does not perform any validation of its input [1], [2], [3]. This allows agents to send arbitrary data to the Jenkins controller without sanitization. The affected code path is reachable whenever an attacker can control an agent process, for example, by compromising a Jenkins agent or by gaining access to an agent node.

Exploitation

An attacker who is able to control an agent process (e.g., by having permissions to control agent nodes or by exploiting another vulnerability) can send a crafted agent-to-controller message. This message contains an arbitrary file path and an attacker-controlled JSON string. The plugin processes the message without verifying the file path, leading to replacement of the specified file on the Jenkins controller file system with the attacker-supplied JSON content [2], [4]. No additional authentication or user interaction is required beyond control of an agent.

Impact

Successful exploitation allows the attacker to overwrite arbitrary files on the Jenkins controller with an attacker-controlled JSON string. This can lead to corruption or modification of critical configuration files, secrets, or build artifacts. The attacker-controlled content is limited to JSON format, which may restrict direct RCE in some scenarios but could still enable compromise of sensitive data or disruption of Jenkins operations [2], [3], [4].

Mitigation

As of the advisory publication date (2021-11-12), no fix is available for this vulnerability [3], [4]. Users of the Squash TM Publisher Plugin should disable the plugin or restrict agent access to trusted nodes until a patched version is released. The plugin is listed as unresolved in the Jenkins security advisory [3]. There is no indication that this CVE is listed in KEV.

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.jenkins-ci.plugins:squashtm-publisher-pluginMaven
<= 1.0.0

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

1