| Summary: | incorrect port check in parse_forward() | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Jan Pechanec <Jan.Pechanec> | ||||
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | djm | ||||
| Priority: | P3 | ||||||
| Version: | 4.7p1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 1353 | ||||||
| Attachments: |
|
||||||
fix has been applied - thanks. Fix shipped in 4.9/4.9p1 release. |
Created attachment 1365 [details] fix for the bug the check whether ports were parsed OK is not correct; it doesn't recognize when only one of the ports is incorrect: # ./ssh -L 99999:localhost:4444 localhost Password: # ./ssh -L 99999:localhost:88888 localhost Bad local forwarding specification '99999:localhost:88888' this happens only when root uses ssh(1). Unprivileged client gets an error "privileged port". patch attached.