Description
LibVNC before commit ca2a5ac02fbbadd0a21fabba779c1ea69173d10b contains heap use-after-free vulnerability in server code of file transfer extension that can result remote code execution.
LibVNC before commit ca2a5ac02fbbadd0a21fabba779c1ea69173d10b contains heap use-after-free vulnerability in server code of file transfer extension that can result remote code execution.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| canonical | ubuntu linux | 14.04 | – |
| canonical | ubuntu linux | 16.04 | – |
| canonical | ubuntu linux | 18.04 | – |
| canonical | ubuntu linux | 18.10 | – |
| debian | debian linux | 8.0 | – |
| debian | debian linux | 9.0 | – |
| libvnc project | libvncserver | < 0.9.12 | – |
CWE-416 Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.
| Scope | Impact |
|---|---|
| Integrity | Modify Memory The use of previously freed memory may corrupt valid data, if the memory area in question has been allocated and used properly elsewhere. |
| Availability | DoS: Crash, Exit, or Restart If chunk consolidation occurs after the use of previously freed data, the process may crash when invalid data is used as chunk information. |
| Confidentiality | Read Memory Read operations on freed memory can sometimes leak sensitive information instead of causing a crash |
| Integrity, Confidentiality, Availability | Execute Unauthorized Code or Commands If malicious data is entered before chunk consolidation can take place, it may be possible to take advantage of a write-what-where primitive to execute arbitrary code. If the newly allocated data happens to hold a class, in C++ for example, various function pointers may be scattered within the heap data. If one of these function pointers is overwritten with an address to valid shellcode, execution of arbitrary code can be achieved. |
All 9,640 CWE-416 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org