It means in exactly the right place in terms of order.
For example:
If the word was "BAT"
And you guessed "RAT"
It would be two correct letters in the right vicinity.
For example:
If the word was "BAT"
And you guessed "RAT"
It would be two correct letters in the right vicinity.