GHSA-g3m9-pr5m-4cvp

Suggest an improvement
Source
https://github.com/advisories/GHSA-g3m9-pr5m-4cvp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-g3m9-pr5m-4cvp/GHSA-g3m9-pr5m-4cvp.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-g3m9-pr5m-4cvp
Aliases
Published
2023-08-28T09:30:20Z
Modified
2023-11-09T05:32:13.982225Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Airflow Sqoop Provider RCE Vulnerability
Details

Apache Airflow Sqoop Provider, versions before 4.0.0, is affected by a vulnerability that allows an attacker pass parameters with the connections, which makes it possible to implement RCE attacks via ‘sqoop import --connect’, obtain airflow server permissions, etc. The attacker needs to be logged in and have authorization (permissions) to create/edit connections.

It is recommended to upgrade to a version that is not affected. This issue was reported independently by happyhacking-k, And Xie Jianming and LiuHui of Caiji Sec Team also reported it.

Database specific
{
    "nvd_published_at": "2023-08-28T08:15:14Z",
    "cwe_ids": [
        "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-08-30T20:15:43Z"
}
References

Affected packages

PyPI / apache-airflow-providers-apache-sqoop

Package

Name
apache-airflow-providers-apache-sqoop
View open source insights on deps.dev
Purl
pkg:pypi/apache-airflow-providers-apache-sqoop

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.0

Affected versions

1.*

1.0.0b1
1.0.0b2
1.0.0rc1
1.0.0
1.0.1rc1
1.0.1

2.*

2.0.0rc1
2.0.0rc2
2.0.0
2.0.1rc1
2.0.1rc2
2.0.1
2.0.2rc1
2.0.2
2.1.0rc1
2.1.0rc2
2.1.0
2.1.1rc1
2.1.1
2.1.2rc1
2.1.2
2.1.3rc1
2.1.3

3.*

3.0.0rc1
3.0.0rc2
3.0.0
3.1.0rc1
3.1.0
3.1.1rc1
3.1.1
3.2.0rc1
3.2.0rc2
3.2.0
3.2.1rc1
3.2.1

4.*

4.0.0rc1