CVE-2023-40348
Java vulnerability analysis and mitigation

Overview

The Jenkins Gogs Plugin version 1.0.15 and earlier contains an information disclosure vulnerability (CVE-2023-40348) that affects its webhook endpoint. The vulnerability was discovered and disclosed on August 16, 2023, impacting the plugin's webhook functionality at /gogs-webhook. This security issue affects all versions of the Gogs Plugin up to and including version 1.0.15 (Jenkins Advisory, OSS Security).

Technical details

The vulnerability exists in the webhook endpoint /gogs-webhook which provides information about the existence of jobs in its output. The webhook endpoint reveals whether a job corresponding to an attacker-specified job name exists, even when the attacker has no permission to access it. The vulnerability has been assigned a Medium severity rating according to CVSS scoring (Jenkins Advisory).

Impact

The vulnerability allows unauthenticated attackers to enumerate and discover the existence of Jenkins jobs through the webhook endpoint, even when they don't have permission to access these jobs. This information disclosure could potentially be used for reconnaissance purposes or as part of a larger attack strategy (Jenkins Advisory).

Mitigation and workarounds

As of the advisory's publication date, there is no official fix available for this vulnerability. Users of the Gogs Plugin should consider implementing additional security controls or access restrictions to the webhook endpoint to minimize potential exploitation (Jenkins Advisory).

Community reactions

Security researchers have recommended that Jenkins should not be exposed to the public Internet due to its large attack surface, and have suggested implementing a process for removing plugins whose maintainers do not resolve security vulnerabilities in a timely manner (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55749HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-tool-jetty-resources
NoYesDec 01, 2025
CVE-2025-13806MEDIUM6.9
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13805MEDIUM6.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13804MEDIUM5.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-66372LOW2.8
  • JavaJava
  • org.mustangproject:library
NoYesNov 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management