CVE-2022-29220

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-29220
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29220.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-29220
Aliases
  • GHSA-v5vr-h3xq-8v6w
Published
2022-05-31T16:10:10Z
Modified
2025-11-04T19:58:45.585780Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
No verification of commits origin in github-action-merge-dependabot
Details

github-action-merge-dependabot is an action that automatically approves and merges dependabot pull requests (PRs). Prior to version 3.2.0, github-action-merge-dependabot does not check if a commit created by dependabot is verified with the proper GPG key. There is just a check if the actor is set to dependabot[bot] to determine if the PR is a legit PR. Theoretically, an owner of a seemingly valid and legit action in the pipeline can check if the PR is created by dependabot and if their own action has enough permissions to modify the PR in the pipeline. If so, they can modify the PR by adding a second seemingly valid and legit commit to the PR, as they can set arbitrarily the username and email in for commits in git. Because the bot only checks if the actor is valid, it would pass the malicious changes through and merge the PR automatically, without getting noticed by project maintainers. It would probably not be possible to determine where the malicious commit came from, as it would only say dependabot[bot] and the corresponding email-address. Version 3.2.0 contains a patch for this issue.

Database specific
{
    "cwe_ids": [
        "CWE-283"
    ]
}
References

Affected packages

Git / github.com/fastify/github-action-merge-dependabot

Affected ranges

Type
GIT
Repo
https://github.com/fastify/github-action-merge-dependabot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

v1

v1.*

v1.0.0
v1.0.1
v1.1.1
v1.2.0
v1.2.1

v2.*

v2.0.0
v2.1.0
v2.1.1
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v2.7.0
v2.7.1

v3.*

v3.0
v3.0.0
v3.0.1
v3.0.2
v3.1
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.1.4
v3.1.5
v3.1.6
v3.1.7