Security Resilience

CVE-2023-40349

Jenkins Gogs ≤ 1.0.15

Published
16 August 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS Score 0.0068 53th percentile
Risk Priority 45 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-40349 is a medium-severity Improper Initialization (CWE-665) vulnerability in Jenkins Gogs. Its CVSS base score is 5.3 (Medium).

Operationally, ranked in the top 47% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

Jenkins Gogs Plugin 1.0.15 and earlier improperly initializes an option to secure its webhook endpoint, allowing unauthenticated attackers to trigger builds of jobs.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-46657Same product: Jenkins Gogs
CVE-2023-40348Same product: Jenkins Gogs
CVE-2024-23898Same vendor: Jenkins
CVE-2023-23847Same vendor: Jenkins
CVE-2023-41940Same vendor: Jenkins
CVE-2023-46655Same vendor: Jenkins
CVE-2025-64134Same vendor: Jenkins
CVE-2026-48922Same vendor: Jenkins
CVE-2025-31721Same vendor: Jenkins
CVE-2024-34145Same vendor: Jenkins

Affected Assets

jenkins
gogs
≤ 1.0.15

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-665

Ensures shared resources are explicitly initialized or cleared on allocation, preventing exposure of prior contents to new users or processes.

addresses: CWE-665

Mandates that every instance begins in a known (presumably clean) state, eliminating reliance on residual or uninitialized state left by prior executions.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect uninitialized variables but does not itself enforce initialization practices.

prevents

Secure coding standards explicitly forbid uninitialized variables and mandate proper resource initialization before use.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-665, a class-level weakness. Rules are authored against its narrower children: CWE-770.

References