CVE-2018-7485
Publication date 26 February 2018
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
The SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c in unixODBC 2.3.5 has strncpy arguments in the wrong order, which allows attackers to cause a denial of service or possibly have unspecified other impact.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| unixodbc | ||
| 16.04 LTS xenial | 
                                Not affected 
                                
                               | |
| 14.04 LTS trusty | 
                                Not affected 
                                
                               | 
Notes
mdeslaur
introduced by https://github.com/lurcher/unixODBC/commit/4f9f77fb4204659ec9b7be8745d9e05a539c80b9 which is listed as containing the fix for CVE-2018-7409. we will not be backporting the full commit that introduced the regression, so this is marked as not-affected
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Network | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | None | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |