Skip to content
Heist/ feed
Back to feed
Medium

y_project RuoYi GenController sql injection

Type: advisorySources: OSV

A vulnerability, which was classified as critical, has been found in y_project RuoYi 4.7.5. This issue affects some unknown processing of the file com/ruoyi/generator/controller/GenController. The manipulation leads to sql injection. The name of the patch is 167970e5c4da7bb46217f576dc50622b83f32b40. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-215975.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-4566
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:12 UTC · Revision 1

Source evidence

y_project RuoYi GenController sql injection

core-osv · Original source

Published 16 Dec 2022, 00:00 UTC

A vulnerability, which was classified as critical, has been found in y_project RuoYi 4.7.5. This issue affects some unknown processing of the file com/ruoyi/generator/controller/GenController. The manipulation leads to sql injection. The name of the patch is 167970e5c4da7bb46217f576dc50622b83f32b40. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-215975.

osv:CVE-2022-4566
Complete source record
{
  "id": "60df8742c9afd18f7227eea39ed5fbfe67f461bb772dfb5966561221cf8ca21f",
  "url": "https://osv.dev/vulnerability/CVE-2022-4566",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "y_project RuoYi GenController sql injection",
    "summary": "A vulnerability, which was classified as critical, has been found in y_project RuoYi 4.7.5. This issue affects some unknown processing of the file com/ruoyi/generator/controller/GenController. The manipulation leads to sql injection. The name of the patch is 167970e5c4da7bb46217f576dc50622b83f32b40. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-215975.",
    "evidence": "osv:CVE-2022-4566",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-4566",
      "aliases": [
        "CVE-2022-4566"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/yangzongzhuan/ruoyi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0ca327f538253196342c5b4a105bad8d377b7d7e"
                },
                {
                  "last_affected": "0ca327f538253196342c5b4a105bad8d377b7d7e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ruoyi:ruoyi:4.7.5:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.7.5"
                      },
                      {
                        "last_affected": "4.7.5"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.7.5",
            "v4.7.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4566.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.050734729Z",
      "provider": "osv",
      "references": [
        "https://gitee.com/y_project/RuoYi/commit/167970e5c4da7bb46217f576dc50622b83f32b40",
        "https://gitee.com/y_project/RuoYi/issues/I65V2B",
        "https://vuldb.com/?id.215975",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4566.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-4566",
        "https://github.com/luelueking/ruoyi-4.7.5-vuln-poc"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-707"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.7.5"
                  },
                  {
                    "last_affected": "4.7.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4566.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-4566",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489674,
  "published_at": "2022-12-16T00:00:00+00:00"
}