AWS Advanced Go Wrapperで権限昇格の脆弱性、rds_superuserの権限を奪われるおそれ
Summary
AWS Advanced Go Wrapperには、Aurora PostgreSQLへの接続時に権限を昇格されるおそれのある脆弱性が見つかりました。認証済みのユーザーが細工した関数を仕込むと、rds_superuserを含むほかのデータベースユーザーの権限を得られるとされています。影響を受けるのは2026年4月6日版(awssql/v2.0.0)から2026年7月29日版より前の版で、2026年7月29日版(awssql/v2.0.3)以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
AWS Advanced Go Wrapperには、Aurora PostgreSQLへの接続時に権限を昇格されるおそれのある脆弱性が見つかりました。認証済みのユーザーが細工した関数を仕込むと、rds_superuserを含むほかのデータベースユーザーの権限を得られるとされています。影響を受けるのは2026年4月6日版(awssql/v2.0.0)から2026年7月29日版より前の版で、2026年7月29日版(awssql/v2.0.3)以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| AWSaws-advanced-go-wrapper |
≥ 2026-04-06, < 2026-07-29→ 2026-07-29 |
2026-07-29 |
Original description The description as published by the source.
An untrusted search path issue in Aurora PostgreSQL dialect detection in the AWS Advanced Go Wrapper from release 2026-04-06 (awssql/v2.0.0) and before release 2026-07-29 (awssql/v2.0.3) could allow a remote authenticated user to escalate privileges to those of another database user, including a member of the rds_superuser role, via a crafted function that runs when that user connects to an Aurora PostgreSQL cluster through an affected version of the wrapper.
To remediate this issue, users should upgrade to the AWS Advanced Go Wrapper release 2026-07-29 (awssql/v2.0.3) or later.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory aws.amazon.com
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- AWS aws.amazon.com
- patch github.com