CVE-2022-43410: Infoleak

Published Oct 19, 2022
·
Updated

An information leak was found in a Jenkins plugin. This issue could allow an unauthenticated remote attacker to issue GET requests. The greatest impact is to confidentiality.

Other sources

In Mercurial Plugin 1251.vab121f184902 and earlier, the output of the webhook endpoint will provide information about which jobs were triggered or scheduled for polling, including jobs the user has no permission to access. This allows attackers with knowledge of Mercurial repository URLs to obtain information about the existence of jobs configured with this Mercurial repository.

https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2831

Red Hat

Jenkins Mercurial Plugin 1251.vab121f184902 and earlier provides information about which jobs were triggered or scheduled for polling through its webhook endpoint, including jobs the user has no permission to access.

Mercurial Plugin provides a webhook endpoint at /mercurial/notifyCommit that can be used to notify Jenkins of changes to an SCM repository. This endpoint receives a repository URL, and Jenkins will schedule polling for all jobs configured with the specified repository. It can be accessed with GET requests and without authentication.

In Mercurial Plugin 1251.vab121f184902 and earlier, the output of the webhook endpoint will provide information about which jobs were triggered or scheduled for polling, including jobs the user has no permission to access. This allows attackers with knowledge of Mercurial repository URLs to obtain information about the existence of jobs configured with this Mercurial repository.

Mercurial Plugin 1260.vdfb723cdcc81 does not provide the names of jobs for which polling is triggered unless the user has the appropriate Item/Read permission.

Affected Software

6 affected componentsFixes available
redhat/jenkins<2-plugins-0:4.12.1675702407-1.el8
2-plugins-0:4.12.1675702407-1.el8
maven/org.jenkins-ci.plugins:mercurial<1260.vdfb
1260.vdfb_723cdcc81
redhat/mercurial<1260.
1260.
Jenkins Mercurial Jenkins<=1251.va_b_121f184902
Microsoft cbl2 mercurial 6.0.3-2<6.0.3-2
6.0.3-2
Microsoft cm1 mercurial 5.4-2<5.4-2
5.4-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 2-plugins-0:4.12.1675702407-1.el8
  2. Upgrade

    Upgrade maven/org.jenkins-ci.plugins:mercurial to a version that resolves this vulnerability.

    Fixed in 1260.vdfb_723cdcc81
  3. Upgrade

    Upgrade redhat/mercurial to a version that resolves this vulnerability.

    Fixed in 1260.
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.4-2
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.0.3-2
  6. Upgrade

    Upgrade Jenkins Mercurial Plugin to a version that resolves this vulnerability.

    Fixed in 1260.vdfb_723cdcc81
  7. Compensating control

    Because the vulnerable webhook endpoint at `/mercurial/notifyCommit` can be accessed with GET requests and without authentication in Jenkins Mercurial Plugin 1251.va_b_121f184902 and earlier, restrict network access to Jenkins (or specifically this endpoint) so unauthenticated users cannot reach it (e.g., via firewall/ACL/WAF rules allowing access only from trusted sources).

Event History

Oct 19, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
07:00 PM
Oct 2, 2025
Data Sourced
via Microsoft·06:11 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·06:11 AM
Affected Software
Updated
via Microsoft·06:11 AM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-43410?

CVE-2022-43410 is a critical vulnerability that impacts confidentiality due to an information leak in a Jenkins plugin.

2

How do I fix CVE-2022-43410?

To fix CVE-2022-43410, upgrade the Mercurial Plugin to version 1260.vdfb or later.

3

What types of software are affected by CVE-2022-43410?

CVE-2022-43410 affects Jenkins with the Mercurial Plugin version 1251.va_b_121f184902 and earlier.

4

What are the potential risks associated with CVE-2022-43410?

The main risk of CVE-2022-43410 is that an unauthenticated remote attacker could gain confidential information through the webhook endpoint.

5

Is there a workaround for CVE-2022-43410?

Disabling the affected Mercurial Plugin can temporarily mitigate the risks associated with CVE-2022-43410 until a patch is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203