The electric field $\vec{E}_{0}$ in a spherical cavity in a uniform dielectric of permittivity $\varepsilon$ is related to the far away field $\vec{E}$, in the following manner. Imagine the cavity to be filled up with the dielectric. Then there will be a uniform field $E$ everywhere and a polarization $\overrightarrow{P,}$ given by,
$\vec{P}=(\varepsilon-1) \varepsilon_{0} \vec{E}$
Now take out the sphere making the cavity, the electric field inside the sphere will be $-\frac{P}{3 \varepsilon_{0}}$
By superposition. $\overrightarrow{E_{0}}-\frac{\vec{P}}{3 \varepsilon_{0}}=\vec{E}$
or, $\overrightarrow{E_{0}}=\vec{E}+\frac{1}{3}(\varepsilon-1) \vec{E}=\frac{1}{3}(\varepsilon+2) \vec{E}$