Vulnerabilites related to reviewdog - action-ast-grep
cve-2025-30154
Vulnerability from cvelistv5
Published
2025-03-19 15:15
Modified
2025-03-25 03:55
Summary
reviewdog/action-setup is a GitHub action that installs reviewdog. reviewdog/action-setup@v1 was compromised March 11, 2025, between 18:42 and 20:31 UTC, with malicious code added that dumps exposed secrets to Github Actions Workflow Logs. Other reviewdog actions that use `reviewdog/action-setup@v1` that would also be compromised, regardless of version or pinning method, are reviewdog/action-shellcheck, reviewdog/action-composite-template, reviewdog/action-staticcheck, reviewdog/action-ast-grep, and reviewdog/action-typos.
Impacted products
Show details on NVD website


{
   containers: {
      adp: [
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2025-30154",
                        options: [
                           {
                              Exploitation: "active",
                           },
                           {
                              Automatable: "yes",
                           },
                           {
                              "Technical Impact": "total",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2025-03-21T00:00:00+00:00",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
               {
                  other: {
                     content: {
                        dateAdded: "2025-03-24",
                        reference: "https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json",
                     },
                     type: "kev",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2025-03-25T03:55:15.353Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            timeline: [
               {
                  lang: "en",
                  time: "2025-03-24T00:00:00+00:00",
                  value: "CVE-2025-30154 added to CISA KEV",
               },
            ],
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               product: "reviewdog",
               vendor: "reviewdog",
               versions: [
                  {
                     status: "affected",
                     version: "= 1",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "reviewdog/action-setup is a GitHub action that installs reviewdog. reviewdog/action-setup@v1 was compromised March 11, 2025, between 18:42 and 20:31 UTC, with malicious code added that dumps exposed secrets to Github Actions Workflow Logs. Other reviewdog actions that use `reviewdog/action-setup@v1` that would also be compromised, regardless of version or pinning method, are reviewdog/action-shellcheck, reviewdog/action-composite-template, reviewdog/action-staticcheck, reviewdog/action-ast-grep, and reviewdog/action-typos.",
            },
         ],
         metrics: [
            {
               cvssV3_1: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 8.6,
                  baseSeverity: "HIGH",
                  confidentialityImpact: "HIGH",
                  integrityImpact: "NONE",
                  privilegesRequired: "NONE",
                  scope: "CHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
                  version: "3.1",
               },
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     cweId: "CWE-506",
                     description: "CWE-506: Embedded Malicious Code",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2025-03-19T15:15:29.113Z",
            orgId: "a0819718-46f1-4df5-94e2-005712e83aaa",
            shortName: "GitHub_M",
         },
         references: [
            {
               name: "https://github.com/reviewdog/reviewdog/security/advisories/GHSA-qmg3-hpqr-gqvc",
               tags: [
                  "x_refsource_CONFIRM",
               ],
               url: "https://github.com/reviewdog/reviewdog/security/advisories/GHSA-qmg3-hpqr-gqvc",
            },
            {
               name: "https://github.com/reviewdog/reviewdog/issues/2079",
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://github.com/reviewdog/reviewdog/issues/2079",
            },
            {
               name: "https://github.com/reviewdog/action-setup/commit/3f401fe1d58fe77e10d665ab713057375e39b887",
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://github.com/reviewdog/action-setup/commit/3f401fe1d58fe77e10d665ab713057375e39b887",
            },
            {
               name: "https://github.com/reviewdog/action-setup/commit/f0d342d24037bb11d26b9bd8496e0808ba32e9ec",
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://github.com/reviewdog/action-setup/commit/f0d342d24037bb11d26b9bd8496e0808ba32e9ec",
            },
            {
               name: "https://www.wiz.io/blog/new-github-action-supply-chain-attack-reviewdog-action-setup",
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://www.wiz.io/blog/new-github-action-supply-chain-attack-reviewdog-action-setup",
            },
         ],
         source: {
            advisory: "GHSA-qmg3-hpqr-gqvc",
            discovery: "UNKNOWN",
         },
         title: "Multiple Reviewdog actions were compromised during a specific time period",
      },
   },
   cveMetadata: {
      assignerOrgId: "a0819718-46f1-4df5-94e2-005712e83aaa",
      assignerShortName: "GitHub_M",
      cveId: "CVE-2025-30154",
      datePublished: "2025-03-19T15:15:29.113Z",
      dateReserved: "2025-03-17T12:41:42.566Z",
      dateUpdated: "2025-03-25T03:55:15.353Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
}

Vulnerability from fkie_nvd
Published
2025-03-19 16:15
Modified
2025-03-29 01:00
Summary
reviewdog/action-setup is a GitHub action that installs reviewdog. reviewdog/action-setup@v1 was compromised March 11, 2025, between 18:42 and 20:31 UTC, with malicious code added that dumps exposed secrets to Github Actions Workflow Logs. Other reviewdog actions that use `reviewdog/action-setup@v1` that would also be compromised, regardless of version or pinning method, are reviewdog/action-shellcheck, reviewdog/action-composite-template, reviewdog/action-staticcheck, reviewdog/action-ast-grep, and reviewdog/action-typos.



{
   cisaActionDue: "2025-04-14",
   cisaExploitAdd: "2025-03-24",
   cisaRequiredAction: "Apply mitigations as set forth in the CISA instructions linked below. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.",
   cisaVulnerabilityName: "reviewdog/action-setup GitHub Action Embedded Malicious Code Vulnerability",
   configurations: [
      {
         nodes: [
            {
               cpeMatch: [
                  {
                     criteria: "cpe:2.3:a:reviewdog:action-ast-grep:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "803018C3-8A54-4257-8AA0-34C8A44C158B",
                     versionEndExcluding: "1.26.2",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:reviewdog:action-composite-template:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "0CA481E1-E3A5-4D2B-9F18-84F640CAB12E",
                     versionEndExcluding: "0.20.2",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:reviewdog:action-setup:1:*:*:*:*:*:*:*",
                     matchCriteriaId: "D5FB52BE-EC23-4D44-99C9-A87DA1C1146B",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:reviewdog:action-shellcheck:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "B5BC0E9A-9A25-44F7-B93D-F8B37816EA90",
                     versionEndExcluding: "1.29.2",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:reviewdog:action-staticcheck:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "E197FFD7-ACAE-470F-8734-B49CD171C9B1",
                     versionEndExcluding: "1.26.2",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:reviewdog:action-typos:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "B2894269-B4A0-4BA1-BEB9-493B5E4D409B",
                     versionEndExcluding: "1.17.2",
                     vulnerable: true,
                  },
               ],
               negate: false,
               operator: "OR",
            },
         ],
      },
   ],
   cveTags: [],
   descriptions: [
      {
         lang: "en",
         value: "reviewdog/action-setup is a GitHub action that installs reviewdog. reviewdog/action-setup@v1 was compromised March 11, 2025, between 18:42 and 20:31 UTC, with malicious code added that dumps exposed secrets to Github Actions Workflow Logs. Other reviewdog actions that use `reviewdog/action-setup@v1` that would also be compromised, regardless of version or pinning method, are reviewdog/action-shellcheck, reviewdog/action-composite-template, reviewdog/action-staticcheck, reviewdog/action-ast-grep, and reviewdog/action-typos.",
      },
      {
         lang: "es",
         value: "reviewdog/action-setup es una acción de GitHub que instala reviewdog. La acción reviewdog/action-setup@v1 se vio comprometida el 11 de marzo de 2025, entre las 18:42 y las 20:31 UTC, con código malicioso que vierte los secretos expuestos en los registros del flujo de trabajo de acciones de GitHub. Otras acciones de reviewdog que usan `reviewdog/action-setup@v1` y que también podrían verse comprometidas, independientemente de la versión o el método de fijación, son reviewdog/action-shellcheck, reviewdog/action-composite-template, reviewdog/action-staticcheck, reviewdog/action-ast-grep y reviewdog/action-typos.",
      },
   ],
   id: "CVE-2025-30154",
   lastModified: "2025-03-29T01:00:02.337",
   metrics: {
      cvssMetricV31: [
         {
            cvssData: {
               attackComplexity: "LOW",
               attackVector: "NETWORK",
               availabilityImpact: "NONE",
               baseScore: 8.6,
               baseSeverity: "HIGH",
               confidentialityImpact: "HIGH",
               integrityImpact: "NONE",
               privilegesRequired: "NONE",
               scope: "CHANGED",
               userInteraction: "NONE",
               vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
               version: "3.1",
            },
            exploitabilityScore: 3.9,
            impactScore: 4,
            source: "security-advisories@github.com",
            type: "Secondary",
         },
         {
            cvssData: {
               attackComplexity: "LOW",
               attackVector: "NETWORK",
               availabilityImpact: "NONE",
               baseScore: 8.6,
               baseSeverity: "HIGH",
               confidentialityImpact: "HIGH",
               integrityImpact: "NONE",
               privilegesRequired: "NONE",
               scope: "CHANGED",
               userInteraction: "NONE",
               vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
               version: "3.1",
            },
            exploitabilityScore: 3.9,
            impactScore: 4,
            source: "nvd@nist.gov",
            type: "Primary",
         },
      ],
   },
   published: "2025-03-19T16:15:33.780",
   references: [
      {
         source: "security-advisories@github.com",
         tags: [
            "Patch",
         ],
         url: "https://github.com/reviewdog/action-setup/commit/3f401fe1d58fe77e10d665ab713057375e39b887",
      },
      {
         source: "security-advisories@github.com",
         tags: [
            "Patch",
         ],
         url: "https://github.com/reviewdog/action-setup/commit/f0d342d24037bb11d26b9bd8496e0808ba32e9ec",
      },
      {
         source: "security-advisories@github.com",
         tags: [
            "Issue Tracking",
            "Vendor Advisory",
         ],
         url: "https://github.com/reviewdog/reviewdog/issues/2079",
      },
      {
         source: "security-advisories@github.com",
         tags: [
            "Vendor Advisory",
         ],
         url: "https://github.com/reviewdog/reviewdog/security/advisories/GHSA-qmg3-hpqr-gqvc",
      },
      {
         source: "security-advisories@github.com",
         tags: [
            "Exploit",
            "Third Party Advisory",
         ],
         url: "https://www.wiz.io/blog/new-github-action-supply-chain-attack-reviewdog-action-setup",
      },
   ],
   sourceIdentifier: "security-advisories@github.com",
   vulnStatus: "Analyzed",
   weaknesses: [
      {
         description: [
            {
               lang: "en",
               value: "CWE-506",
            },
         ],
         source: "security-advisories@github.com",
         type: "Primary",
      },
      {
         description: [
            {
               lang: "en",
               value: "NVD-CWE-Other",
            },
         ],
         source: "nvd@nist.gov",
         type: "Primary",
      },
   ],
}