Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To prevent TOCTOU attacks, use checked IP addr directly for connections #1

Merged
merged 1 commit into from
Aug 5, 2015

Conversation

hakobe
Copy link
Owner

@hakobe hakobe commented Aug 5, 2015

Checking a connecting host in http.Transport is vulnerable for TOCTOU attacks. This p-r fixes it by checking hosts and uses resolved addrs at dialing.

I want to thank @kazuho for pointing this out (https://twitter.com/kazuho/status/628741345801154562).

hakobe added a commit that referenced this pull request Aug 5, 2015
To prevent TOCTOU attacks, use checked IP addr directly for connections
@hakobe hakobe merged commit 8587865 into master Aug 5, 2015
Songmu added a commit that referenced this pull request Mar 30, 2019
## [v0.1.0](6495e87...v0.1.0) (2019-03-31)

* adjust releng files [#11](#11) ([Songmu](https://github.com/Songmu))
* Revert "introduce structure for errors" [#8](#8) ([hakobe](https://github.com/hakobe))
* introduce structure for errors [#7](#7) ([astj](https://github.com/astj))
* Remove resolved issues from readme. [#6](#6) ([shogo82148](https://github.com/shogo82148))
* fix errors in IPv6 environment. [#5](#5) ([shogo82148](https://github.com/shogo82148))
* [incompatible] Support context more on Go 1.8 [#4](#4) ([Songmu](https://github.com/Songmu))
* support DialContext for go 1.7 [#3](#3) ([Songmu](https://github.com/Songmu))
* define mustParseCIDR and refactor [#2](#2) ([Songmu](https://github.com/Songmu))
* To prevent TOCTOU attacks, use checked IP addr directly for connections [#1](#1) ([hakobe](https://github.com/hakobe))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant