CVE-2022-46163
published high CVSS 3.1 · 7.5travel-support-program vulnerable to data exfiltration via Ransack query injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openSUSE | — | travel-support-program< d22916275c51500b4004933ff1b0a69bc807b2b7 | Affected | Not stated | GitHub_M |
Description
Travel support program is a rails app to support the travel support program of openSUSE (TSP). Sensitive user data (bank account details, password Hash) can be extracted via Ransack query injection. Every deployment of travel-support-program below the patched version is affected. The travel-support-program uses the Ransack library to implement search functionality. In its default configuration, Ransack will allow for query conditions based on properties of associated database objects [1]. The `*_start`, `*_end` or `*_cont` search matchers [2] can then be abused to exfiltrate sensitive string values of associated database objects via character-by-character brute-force (A match is indicated by the returned JSON not being empty). A single bank account number can be extracted with <200 requests, a password hash can be extracted with ~1200 requests, all within a few minutes. The problem has been patched in commit d22916275c51500b4004933ff1b0a69bc807b2b7. In order to work around this issue, you can also cherry pick that patch, however it will not work without the Rails 5.0 migration that was done in #150, which in turn had quite a few pull requests it depended on.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openSUSE | travel-support-program | < d22916275c51500b4004933ff1b0a69bc807b2b7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
3Provider assertions
3GitHub_M · cna
travel-support-program vulnerable to data exfiltration via Ransack query injection
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2a4eefe96c7c6748109e22eee40c2db1f023f849ed656474d804550f5101120a
- Ingested
- 23 Sep 2026, 08:03:28 UTC
- Source record
- Official CVE record